一個(gè)模仿oso的php論壇程序源碼(之二)第2/3頁
更新時(shí)間:2007年03月11日 00:00:00 作者:
print ' <input type="text" name="forumtitle" size="80">';
print '<input type="hidden" name="theme_id" value="0">';
print ' <font color="#ff0000">*</font> </td>';
} else {
$dbh = mysql_connect('localhost:3306','root','');
mysql_select_db('test');
$tempstr = " select title from fr_t_forumtitle where id = ".$theme_id;
$res=mysql_query($tempstr,$dbh);
$row=mysql_fetch_array($res);
print ' <div align="right">回帖標(biāo)題:</div>';
print ' </td> <td width="609"> ';
print ' <font color="#ff0000">'.$row["title"].'</font>';
print ' <input type="hidden" name="theme_id" value="'.$theme_id.'">';
print ' <input type="hidden" name="forumtitle" value="e">'; //判斷使用
print ' </td>';
}
?>
</tr>
<tr>
<td width="131" class="text">
<div align="right">表情圖標(biāo):</div>
</td>
<td width="609">
<p>
<input type="radio" name="forumface" value="1" checked>
<img src="icon1.gif" width="18" height="18">
<input type="radio" name="forumface" value="2">
<img src="icon2.gif" width="18" height="18">
<input type="radio" name="forumface" value="3">
<img src="icon3.gif" width="18" height="18">
<input type="radio" name="forumface" value="4">
<img src="icon4.gif" width="18" height="18">
<input type="radio" name="forumface" value="5">
<img src="icon5.gif" width="18" height="18">
<input type="radio" name="forumface" value="6">
<img src="icon6.gif" width="18" height="18">
<input type="radio" name="forumface" value="7">
<img src="icon7.gif" width="18" height="18"><br>
<input type="radio" name="forumface" value="8">
<img src="icon8.gif" width="18" height="18">
<input type="radio" name="forumface" value="9">
<img src="icon9.gif" width="18" height="18">
<input type="radio" name="forumface" value="10">
<img src="icon10.gif" width="18" height="18">
<input type="radio" name="forumface" value="11">
<img src="icon11.gif" width="18" height="18">
<input type="radio" name="forumface" value="12">
<img src="icon12.gif" width="18" height="18">
<input type="radio" name="forumface" value="13">
<img src="icon13.gif" width="18" height="18">
<input type="radio" name="forumface" value="14">
<img src="icon14.gif" width="18" height="18"></p>
</td>
</tr>
<tr>
相關(guān)文章
Laravel 默認(rèn)郵箱登錄改成用戶名登錄的實(shí)現(xiàn)方法
Laravel中默認(rèn)的登錄是通過郵箱和密碼進(jìn)行登錄的。那么,怎么樣才能用最少的改動(dòng)將它改成用密碼登錄呢?下面腳本之家小編給大家?guī)砹薒aravel 默認(rèn)郵箱登錄改成用戶名登錄的實(shí)現(xiàn)方法,需要的朋友一起看看吧2019-08-08php使用正則表達(dá)式提取字符串中尖括號(hào)、小括號(hào)、中括號(hào)、大括號(hào)中的字符串
PHP使用正則表達(dá)式提取字符串中尖括號(hào)<>、小括號(hào)()、中括號(hào)[]、大括號(hào){}中的字符示例,需要的朋友可以參考下2014-04-04