/** * @brief getCurrentTheme 获取当前主题 * * @return string */ public static function getCurrentTheme() { if (Request::G('theme', 'string') != NULL) { if (in_array(Request::G('theme', 'string'), self::$_themes)) { return Request::G('theme', 'string'); } } return OptionLibrary::get('theme'); }
?> ', {'pid':$(this).val()}, function(response){ if(!response.success){ showMessage(response.message,'error'); } }, "json" ); }); ajaxLoad('<?php path(array("do" => "contentManagePages"), "AdminDo"); ?> ?page=<?php echo Request::G("page") ? Request::G("page") : 1; ?> '); } var settings = { flash_url : "<?php path('User/Theme/admin/script/swfupload.swf', 'base'); ?> ", upload_url: "<?php path(array('do' => 'upload'), 'AdminDo'); ?> ", post_params: {"userid" : "<?php echo Request::C('userid');
<?php if (!($uid = Request::G('uid'))) { ?> <div class="box"> <div class="box-title"> <h3><?php _e('User List'); ?> </h3> <span></span> </div> <div class="box-content"> <table class="list-table"> <colgroup> <col width="25"> <col width="200"> <col width="250"> <col width="250"> <col width="165"> </colgroup> <thead> <tr> <th class="radius-topleft"> </th> <th><?php _e('Username'); ?> </th> <th><?php _e('Email'); ?>
function showHead() { ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>LogX 安装程序</title> <style type="text/css"> * {font-size:12px; font-family: Verdana, Arial, Helvetica, sans-serif; line-height: 1.5em; word-break: break-all; } body { text-align:center; margin: 0; padding: 0; background: #F5FBFF; } .bodydiv { text-align:left; background: #FFF; } h1 { font-size: 18px; margin: 1px 0 0; line-height: 50px; height: 50px; background: #E8F7FC; color: #5086A5; padding-left: 10px; } #menu {width: 100%; margin: 10px auto; text-align: center; } #menu td { height: 30px; line-height: 30px; color: #999; border-bottom: 3px solid #EEE; width:20%; } table{ width:100%; } .current { font-weight: bold; color: #090 !important; border-bottom-color: #F90 !important; } .showtable { width:100%; border: solid; border-color:#86B9D6 #B2C9D3 #B2C9D3; border-width: 3px 1px 1px; margin: 10px auto; background: #F5FCFF; } .showtable td { padding: 3px; } .showtable strong { color: #5086A5; } .datatable { width: 100%; margin: 10px auto 25px; } .datatable td { padding: 5px 0; border-bottom: 1px solid #EEE; } input { border: 1px solid #B2C9D3; padding: 5px; background: #F5FCFF; } .button { margin: 10px auto 20px; width: 100%; } .button td { text-align: center; } .button input, .button button { border: 1px solid #B2C9D3; padding: 5px 10px; color: #5086A5; background: #F5FCFF; cursor: pointer; } #footer { font-size: 10px; line-height: 40px; background: #E8F7FC; text-align: center; height: 38px; overflow: hidden; color: #5086A5; margin-top: 20px; } .error, .notice, .success {padding:.8em;margin-bottom:1em;border:1px solid #ddd;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;} .error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;} .notice {background:#FFF6BF;color:#514721;border-color:#FFD324;} .success {background:#E6EFC2;color:#264409;border-color:#C6D880;} .error a {color:#8a1f11;} .notice a {color:#514721;} .success a {color:#264409;} .error a, .notice a, .success a {text-decoration: none; border-bottom-width: 1px; border-bottom-style: dashed;} .error a:hover, .notice a:hover, .success a:hover {text-decoration: none; border-bottom-width: 1px; border-bottom-style: solid;} </style> </head> <body id="append_parent"> <div class="bodydiv"> <h1>LogX 安装程序</h1> <div style="width:90%;margin:0 auto;"> <table id="menu"> <tr> <td<?php if (Request::G('step') == 1) { ?> class="current"<?php } ?> >1.欢迎使用 LogX</td> <td<?php if (Request::G('step') == 2) { ?> class="current"<?php } ?> >2.设置数据库连接信息</td> <td<?php if (Request::G('step') == 3) { ?> class="current"<?php } ?> >3.为您的博客取一个名字</td> <td<?php if (Request::G('step') == 4) { ?> class="current"<?php } ?> >4.添加一个管理员帐户</td> <td<?php if (Request::G('step') == 5) { ?> class="current"<?php } ?> >5.开始您的 LogX 之旅</td> </tr> </table> <?php }