<a href="[!--news.url--]e/public/report/?classid=[!--classid--]&id=[!--id--]">错误报告</a>
<a href="[!--news.url--]e/public/report/?classid=[!--classid--]&id=[!--id--]&cid=1">错误报告</a>
$userid=(int)getcvar('mluserid');
if(!$userid)
{
printerror('未登录用户禁用此功能','history.go(-1)',1,0,1);
}
<?=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsdownerror")?>
注释:统计enewsdownerror表的记录总数
<?=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsdownerror where classid='$GLOBALS[navclassid]'")?>
注释:只能统计终极栏目,一级栏目不能统计
<?=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsdownerror where classid='42' ")?>
注释:1、多个栏目时用:classid in('栏目ID1','栏目ID2','栏目ID3')
<?=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsdownerror where classid='$navinfor[classid]' and id='$navinfor[id]'")?>
<select name="cid" id="cid">
<option value="" selected="selected">请选择</option>
<option value="1">默认</option>
<option value="2">新建</option>
</select>
<form name="form1" method="post" action="../../enews/index.php">
<table width="600" border="0" align="center" cellpadding="3" cellspacing="1"class=tableborder>
<input type="hidden" name="cid" value="<?=$cid?>">
<tr class=header>
<td height="23" colspan="2">提交错误报告</td>
</tr>
<tr>
<td width='16%' height=25 bgcolor='ffffff'><div align="right">选需求:</div></td>
<td bgcolor='ffffff'>
<select name="cid" id="cid">
<option value="" selected="selected">请选择</option>
<option value="1">默认</option>
<option value="2">新建</option>
</select></td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="137" height="23"><div align="left">信息标题:</div></td>
<td width="448" height="23"><a href='<?=$titleurl?>' target=_blank><?=$r[title]?></a></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="23"><div align="left">您的邮箱:</div></td>
<td height="23"><input name="email" type="text" id="email">
(方便回复您)</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="23"><div align="left">报告内容(*):</div></td>
<td height="23"><textarea name="errortext" cols="60" rows="12" id="name4"></textarea></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="23"> </td>
<td height="23"><input type="submit" name="Submit" value="提交"> <input type="reset" name="Submit2" value="重置">
<input name="enews" type="hidden" id="enews" value="AddError">
<input name="id" type="hidden" id="id" value="<?=$id?>">
<input name="classid" type="hidden" id="classid" value="<?=$classid?>"></td>
</tr>
</table>
</form>
<?php
$sql=$empire->query("select classid,classname from {$dbtbpre}enewserrorclass order by classid desc");
?>
<?
while($r=$empire->fetch($sql))
{
?>
<input name="cid" type="radio" value="<?=$r[classid]?>"><?=$r[classname]?>
<?
}
db_close();
$empire=null;
?>
<form name="form1" method="post" action="../../enews/index.php">
<table width="600" border="0" align="center" cellpadding="3" cellspacing="1"class=tableborder>
<input type="hidden" name="cid" value="<?=$cid?>">
<tr class=header>
<td height="23" colspan="2">提交错误报告</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="137" height="23"><div align="left">信息标题:</div></td>
<td width="448" height="23"><a href='<?=$titleurl?>' target=_blank><?=$r[title]?></a></td>
</tr>
<tr bgcolor="#FFFFFF"> <td height="23"><div align="left">选择分类:</div></td>
<td height="23"><?php $sql=$empire->query("select classid,classname from {$dbtbpre}enewserrorclass order by classid desc");?>
<? while($r=$empire->fetch($sql)){ ?><input name="cid" type="radio" value="<?=$r[classid]?>"><?=$r[classname]?>
<? } db_close();$empire=null;?></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="23"><div align="left">您的邮箱:</div></td>
<td height="23"><input name="email" type="text" id="email">
(方便回复您)</td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="23"><div align="left">报告内容(*):</div></td>
<td height="23"><textarea name="errortext" cols="60" rows="12" id="name4"></textarea></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="23"> </td>
<td height="23"><input type="submit" name="Submit" value="提交"> <input type="reset" name="Submit2" value="重置">
<input name="enews" type="hidden" id="enews" value="AddError">
<input name="id" type="hidden" id="id" value="<?=$id?>">
<input name="classid" type="hidden" id="classid" value="<?=$classid?>"></td>
</tr>
</table>
</form>
很多需要仿的客户似乎都有这样一个信念,认为仿站就是抄站,理所当然很简单很容易,所以不管是大站,小站难 站易站在他们眼中,都是一个级别的,在这里...
仿站网认为通常情况下,有以下两种方式的服务器可供选择。(1)虚拟主机方式。所谓虚拟主机是指使用特殊的软硬件技术,把计算机分成若干台"虚拟"...
为什么制作网站地图?上次仿站网和大家说了什么是网站地图,今天我们来讲讲一个网站为什么制作网站地图呢?众所周知,网站地图要包括您的主要网...
首先你要对你要做的这个网站有一定的规划,然后就是对于网站的外形有哪些要求,这些你都是要提前考虑的,如果想要网站建设的快一些的吧,可以仿站,还...
现在很多的企业都是做网站的了,现在的网站建设主要有仿站和全新建站的区别,很多的客户都是会想认为仿站就是抄袭别人的网站的,其实不是这样的,仿...
1、普通型仿制型网站企业网站报价:什么上普通型建站呢?普通型建站指是只做展示公司资料及公司产品,没有什么视觉要求只是一般,这类网站叫普通型...