} $temp_data = '<tr><td><br /><br />' . $language['db_alr_populated'] . '<br /><br /></td></tr>'; html_content($language['db_populating']); html_footer(); setTmpConfig('step', STEP_SET_ADMIN); } else { if ($set_populated) { // this is a lock to see if the db has been created yet setTmpConfig('db_populated', 'done'); setTmpConfig('step', STEP_SET_ADMIN); } html_header(); if ($error != '') { html_error(); } html_content($msg); html_footer(); break; } break; case STEP_SET_ADMIN: // Ask for coppermine admin username, password and email address $page_title = $language['title_admin']; if ($superCage->post->keyExists('admin_username')) { // check validity of admin details $admin_username = $superCage->post->getMatched('admin_username', '/\\A\\w*\\Z/'); if ($admin_username[0] == '' || !$admin_username) { // admin username not correct $error .= $language['user_err'] . '<br />'; } else { setTmpConfig('admin_username', $admin_username[0]);
} krsort($menuOutputs); $output .= implode('', $menuOutputs); $output .= '</ul>'; $output .= '</div>'; $output .= '<div class="submenu"></div>'; $output .= '</div>'; $output .= '<div class="clear"></div>'; /* 页面头部结束 */ /* 中间内容开始 */ $output .= '<div class="frontpage_left_content">'; $output .= '<ul>'; if (is_array($data['articles']) && count($data['articles'])) { foreach ($data['articles'] as $article) { $output .= '<li>'; $teaser = html_content($article['teaser']); $output .= '<div class="blog_title">' . l($article['title'], 'article/' . $article['id'], array('target' => '_blank')) . '</div>'; $output .= '<div class="blog_date">' . date('Y-m-d', trim($article['created'])) . '</div>'; $output .= '<div class="blog_teaser">' . $teaser . '</div>'; $output .= '</li>'; } } else { $output .= '<li>'; $output .= '<div class="blog_title">也谈WIN8 RTM的发布也谈WIN8 RTM的发布</div>'; $output .= '<div class="blog_date">2012-8-13 </div>'; $output .= '<div class="blog_teaser">以期在正式发布时候实现软硬件的兼容,这标志着Windows 8的代码开发工作已经完成。未来几周,制造商就可以将Windows 8安装到电脑中,并于10月26日推出。微软近日宣布,Windows 8操作系统已经正式向硬件制造商发布RTM版本,并提交给了硬件厂商研发硬件,以期在正式发布时候实现软硬件的兼容,这标志着Windows 8的代码开发工作已经完成。未来几周,制造商就可以将Windows 8安装到电脑中,并于10月26日推出。微软近日宣布,Windows 8操作系统已经正式向硬件制造商发布RTM版本,并提交给了硬件厂商研发硬件,以期在正式发布时候实现软硬件的兼容,这标志着Windows 8的代码开发工作已经完成。未来几周,制造商就可以将Windows 8安装到电脑中,并于10月26日推出。</div>'; $output .= '</li>'; $output .= '<li>'; $output .= '<div class="blog_title">也谈WIN8 RTM的发布也谈WIN8 RTM的发布</div>'; $output .= '<div class="blog_date">2012-8-13 </div>'; $output .= '<div class="blog_teaser">以期在正式发布时候实现软硬件的兼容,这标志着Windows 8的代码开发工作已经完成。未来几周,制造商就可以将Windows 8安装到电脑中,并于10月26日推出。微软近日宣布,Windows 8操作系统已经正式向硬件制造商发布RTM版本,并提交给了硬件厂商研发硬件,以期在正式发布时候实现软硬件的兼容,这标志着Windows 8的代码开发工作已经完成。未来几周,制造商就可以将Windows 8安装到电脑中,并于10月26日推出。微软近日宣布,Windows 8操作系统已经正式向硬件制造商发布RTM版本,并提交给了硬件厂商研发硬件,以期在正式发布时候实现软硬件的兼容,这标志着Windows 8的代码开发工作已经完成。未来几周,制造商就可以将Windows 8安装到电脑中,并于10月26日推出。</div>';
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <base href="<?php print URL; ?>" /> </head> <!-- initialize google map in detail page --> <?php if (SCRIPT_ID=='detail') : ?> <body onload="initialize()"> <?php else : ?> <body> <?php endif; ?> <!-- facebook connect --> <?php if ($lep->config['facebook_enable']) $fb->loadJsSDK(); ?> <!-- menu1 content position --> <?php print html_content("menu1"); ?> <!-- main content position --> <?php print html_content("main"); ?> <!-- sidebar content position --> <?php print html_content("sidebar"); ?> <!-- click counter script at the bottom of the page --> <script src="<?php print URL; ?>click.js.php"></script> </body> </html>
$output .= '</div>'; $output .= '<div class="submenu"></div>'; $output .= '</div>'; $output .= '<div class="clear"></div>'; /* 页面头部结束 */ /* 中间内容开始 */ $output .= '<div class="plant_detail_wrapper">'; $output .= '<div class="breadcrumb">'; $output .= $data['breadcrumbs']; $output .= '</div>'; $output .= '<div class="dian"></div>'; $output .= '<div class="content">'; $output .= '<div class="tree_content_wrapper">'; if ($data['plant_content']) { $name = $data['plant']['name']; $content = html_content($data['plant_content']['content']); $output .= '<div class="title"><h1>' . $name . '</h1></div>'; $output .= '<div class="text">'; $output .= $content; $output .= '</div>'; } else { $output .= '<div class="text"> 暂无内容 </div>'; } $output .= '</div>'; /* photo gallery */ $output .= '<div class="tree_gallery_wrapper">'; $images = $data['plant']['images']; $images_thumbs = $images['thumbs']; $images_originals = $images['originals']; $output .= '<ul>'; if (is_array($images_thumbs) && count($images_thumbs)) {