📄 themes.php
字号:
<?php
/**
*
* @package wappyCULT: wap community script
* @version 1.00 2006/09/12 21:53:27 wappy
* @copyright (c) 2004-2006 wappyCULT
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
*/
include("../config.php");
include("../core.php");
include("outfn.php");
connectdb();
$mime="application/xhtml+xml";
$charset = "utf-8";
$sid = $_GET["sid"];
header("content-type:$mime;charset=$charset");
echo("<?xml version=\"1.0\"?>\n");
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
$uid = getuid_sid($sid);
$pstyle = gettheme($uid);
echo xhtmlhead("ravingwap",$pstyle);
echo "<h3 align=\"center\">Adding themes</h3>\n";
echo "<p>";
if(!isadmin($uid))
{
echo "You can't view this page";
}else{
addonline ($uid, "Admin CP","");
if(!isset($a))
{
//print default page
echo "<form action=\"preview.php?sid=$sid\" method=\"post\">";
echo "Name: <input type=\"text\" name=\"thnm\" size=\"15\" maxlength=\"10\"/><br/>";
echo "Background Color: <input type=\"text\" name=\"bgcl\" size=\"6\" maxlength=\"6\"/> (Hexdecimal input, e.g: FF0000)<br/>";
echo "Text Color: <input type=\"text\" name=\"txcl\" size=\"6\" maxlength=\"6\"/><br/>";
echo "Link Color: <input type=\"text\" name=\"lncl\" size=\"6\" maxlength=\"6\"/> <br/>";
echo "Header Color: <input type=\"text\" name=\"hdcl\" size=\"6\" maxlength=\"6\"/><br/>";
echo "Header Text Color: <input type=\"text\" name=\"htcl\" size=\"6\" maxlength=\"6\"/><br/>";
echo "<input type=\"submit\" value=\"Preview\"/>";
echo "</form>";
}
}
echo "</p>";
echo "<p align=\"center\">";
echo "<a href=\"../index.php?action=main&sid=$sid\">HOME</a>";
echo "</p>";
echo "\n</body>\n</html>";
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -