📄 tags_demo.php
字号:
<?php
require_once('manage/check_admin.php');
?>
<!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=gb2312" />
<link rel="stylesheet" type="text/css" href="skin/style.css">
<title>标签演示</title>
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
}
-->
</style>
</head>
<?php
require_once('libs/config.inc');
require_once('libs/dbmanager.inc');
require_once('libs/function.inc');
?>
<body>
<table width="100%" cellpadding="6" cellspacing="0" align="center">
<tr>
<td>
<?php
$conn = DBManager::getConnection();
$result = $conn->query("SELECT * FROM ".$tablepre."tag WHERE tagid = '$_GET[tagid]'");
$arr = $result -> fetch_assoc();
if($arr[tagmode] == 0){
require_once("pagetag/".$arr[tagname].".html");
}elseif($arr[tagmode] == 3){
fopen('js/demo.php','w');
file_write('js/demo.php',$arr[tagbody]);
include 'js/demo.php';
}elseif($arr[tagmode] == 2){
echo $arr[tagbody];
}
?>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -