@@ -14,8 +14,7 @@ | |||||
<body class="menu-show"> | <body class="menu-show"> | ||||
<header class="admin-head navbar navbar-expand navbar-dark"> | <header class="admin-head navbar navbar-expand navbar-dark"> | ||||
<div class="logo"> | <div class="logo"> | ||||
<a href="index_body.php" target="main" class="name"><?php echo cn_substr($cfg_webname, 12);?></a> | |||||
<span class="version"><?php echo $cfg_version_detail;?></span> | |||||
<a href="index_body.php" target="main" class="name mr-2"><?php echo cn_substr($cfg_webname, 14);?></a> | |||||
<?php if (DEDEBIZ_SAFE_MODE) {?> | <?php if (DEDEBIZ_SAFE_MODE) {?> | ||||
<a href="index_body.php?dopost=safe_mode" target="main" class="btn btn-primary btn-xs">安全</a> | <a href="index_body.php?dopost=safe_mode" target="main" class="btn btn-primary btn-xs">安全</a> | ||||
<?php } else {?> | <?php } else {?> | ||||
@@ -75,17 +75,17 @@ | |||||
<tbody> | <tbody> | ||||
<tr> | <tr> | ||||
<td width="16%"> | <td width="16%"> | ||||
<p>操作系统</p> | |||||
<span><?php echo PHP_OS;?></span> | |||||
</td> | |||||
<td width="16%"> | |||||
<p>WEB服务器</p> | |||||
<span><?php echo GetSimpleServerSoftware();?></span> | |||||
<p>软件版本</p> | |||||
<span><?php echo $cfg_version_detail;?></span> | |||||
</td> | </td> | ||||
<td width="16%"> | <td width="16%"> | ||||
<p>IP地址</p> | <p>IP地址</p> | ||||
<span><?php echo gethostbyname($_SERVER['SERVER_NAME']);?></span> | <span><?php echo gethostbyname($_SERVER['SERVER_NAME']);?></span> | ||||
</td> | </td> | ||||
<td width="16%"> | |||||
<p>操作系统</p> | |||||
<span><?php echo PHP_OS;?> / <?php echo GetSimpleServerSoftware();?></span> | |||||
</td> | |||||
<td width="16%"> | <td width="16%"> | ||||
<p>PHP版本</p> | <p>PHP版本</p> | ||||
<span><?php echo @phpversion();?></span> | <span><?php echo @phpversion();?></span> | ||||
@@ -91,10 +91,13 @@ function lib_channel(&$ctag, &$refObj) | |||||
$row['typelink'] = GetOneTypeUrlA($row); | $row['typelink'] = GetOneTypeUrlA($row); | ||||
$linkOkstr = str_replace("~rel~", $row['rel'], $linkOkstr); | $linkOkstr = str_replace("~rel~", $row['rel'], $linkOkstr); | ||||
$linkOkstr = str_replace("~id~", $row['id'], $linkOkstr); | $linkOkstr = str_replace("~id~", $row['id'], $linkOkstr); | ||||
$linkOkstr = str_replace("~typename~", $row['typename'], $linkOkstr); | |||||
$linkOkstr = str_replace("~cnoverview~", $row['cnoverview'], $linkOkstr); | |||||
$linkOkstr = str_replace("~enname~", $row['enname'], $linkOkstr); | |||||
$linkOkstr = str_replace("~enoverview~", $row['enoverview'], $linkOkstr); | |||||
$linkOkstr = str_replace("~typelink~", $row['typelink'], $linkOkstr); | |||||
$linkOkstr = str_replace("~bigpic~", $row['bigpic'], $linkOkstr); | $linkOkstr = str_replace("~bigpic~", $row['bigpic'], $linkOkstr); | ||||
$linkOkstr = str_replace("~litimg~", $row['litimg'], $linkOkstr); | $linkOkstr = str_replace("~litimg~", $row['litimg'], $linkOkstr); | ||||
$linkOkstr = str_replace("~typelink~", $row['typelink'], $linkOkstr); | |||||
$linkOkstr = str_replace("~typename~", $row['typename'], $linkOkstr); | |||||
$likeType .= $linkOkstr; | $likeType .= $linkOkstr; | ||||
} else { | } else { | ||||
$row['typelink'] = $row['typeurl'] = GetOneTypeUrlA($row); | $row['typelink'] = $row['typeurl'] = GetOneTypeUrlA($row); | ||||