<?
session_start();
require_once("../conn/mysqlconn.php");
require_once('xajax.inc.php');
if(!isset($_SESSION['wid']))
{
$_SESSION['wid']=$_GET["wid"];
}
if(isset($_POST['content_4']))
{
$con = new createdb;
$con->createconn();
$con->mysql="insert into content(webid,tallname,txtconntent) values('$_SESSION[wid]','$_POST[tallnane]','$_POST[content_4]')";
$con->getresule();
}
@define(mun_2,3); //¶¨ÒaÿҳÏÔʾ¼¸Ìo¼Ç
function tt($form_mm)
{
if($_SESSION["code"]==$form_mm['chetxt']) //ÓÃxajaxÀ´È¡µÃÑeÖ¤Âe£¬²»Í¬ÒÔÇ°µÄÄÇÖÖ¿´ÑeÖ¤Âe¶Ô²»¶Ô
{
$erro_msg="ллÄaµÄÖ§³Ö";
$jjs="";
}
else
{
$erro_msg="ÑeÖ¤Âe²»¶Ô£¬ÇeÖØÐÂÔÚд";
$jjs="true";
}
$obj= new xajaxResponse();
$obj->addAssign("check_msg","innerHTML",$erro_msg);
$obj->addAssign("btn","disabled",$jjs);
return $obj->getXML();
}
function callmsg()
{
$obj= new xajaxResponse();
$obj->addScript("xajax_tt(xajax.getFormValues('form_d'));");
return $obj->getXML();
}
function xx($uu)
{
$ad_2="";
$bb=mun_2;
$start=$uumun_2 - mun_2;
$II=$uu-1;
if($uu==1)
{
$II=$uu;
}
$I=$uu+1;
if($I>@$_SESSION['$mun_5'])
{
$I=$uu;
}
$pp = new createdb;
$pp->createconn();
$pp->mysql="select count() from content where webid=$_SESSION[wid]";
$pp->getresule();
$pp->getrow();
$u=$pp->row[0];
$t=$u;
$pp->mysql="select * from content where webid=$_SESSION[wid] group by id desc limit $start,$bb";
$pp->getresule();
$start=$start+1;
while($pp->getrow())
{
$ad="
ÕýÔÚ¼ÓÔÔ¡£¡£¡£¡£¡£¡£