【php开源代码栏目提醒】:网学会员为需要php开源代码的朋友们搜集整理了showgg.php相关资料,希望对各位网友有所帮助!
<?php
include("conn/conn.php");
include("JS/function.php");
?>
<link href="css/style.css" rel="stylesheet">
<table width="679" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="443" valign="top" background="Images/eject.gif"><br>
<br>
<br>
<br>
<br> <table width="530" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFA200">
<?php
$id=$_GET[id];
$sql=my
sql_query("select * from tb_advertising where id='".$id."'",$conn);
$info=
mysql_fetch_array($sql);
?>
<tr>
<td width="72" height="35" bgcolor="#FFFFFF"><div align="center">广告主题:</div></td>
<td width="256" height="35" bgcolor="#FFFFFF"><div align="left"> <?php echo unhtml($info[title]);?></div></td>
<td width="73" height="35" bgcolor="#FFFFFF"><div align="center">发布时间:</div></td>
<td width="124" height="35" bgcolor="#FFFFFF"><div align="left"> <?php echo $info[fdate];?></div></td>
</tr>
<tr>
<td height="125" bgcolor="#FFFFFF"><div align="center">广告内容:</div></td>
<td height="220" colspan="3" valign="top" bgcolor="#FFFFFF"><div align="left">
<p><br>
<?php echo unhtml($info[content]);?></p>
</div></td>
</tr>
</table></td>
</tr>
</table>