示例#1
0
文件: news.php 项目: ece4u/ece4cWeb
<?php 
if ($_REQUEST['code'] == 1) {
    $errMsg = 'Cập nhật thành công.';
}
?>

<table cellspacing="0" cellpadding="0" width="100%">
	<tr>
		<td height="30" class="smallfont">Trang : <?php 
echo $pageindex;
?>
</td>
		<td align="right" class="smallfont">
			<?php 
echo comboCategory('ddCat', getArrayNews($tableCategoryConfig), 'smallfont', $_REQUEST['cat'], 1);
?>
			<input type="button" value="Chuyển" class="button" 
				onClick="window.location='./?act=<?php 
echo $actConfig;
?>
&cat='+ddCat.value">
		</td>
	</tr>
</table>

<table border="1" cellpadding="2" bordercolor="#C9C9C9" width="100%">
	<tr>
	  <th width="25" class="title"><input type="checkbox" name="chkall" onClick="chkallClick(this);"></th>
		<th class="title" colspan="2" rowspan></th>		
		<th width="30" class="title"><a class="title" href="<?php 
示例#2
0
文件: news_m.php 项目: ece4u/ece4cWeb
					<td width="15%" class="smallfont" align="right">Thông tin chi tiết</td>
					<td width="1%" class="smallfont" align="center"></td>
					<td width="83%" class="smallfont">						  
						<textarea name="txtDetailShort" cols="80" rows="10" id="txtDetailShort"><?php 
echo $detail_short;
?>
</textarea>
					 </td>
				</tr>
				<tr><td height="10px"></td></tr>								
				<tr>
					<td width="15%" class="smallfont" align="right">Thuộc danh mục</td>
					<td width="1%" class="smallfont" align="center"></td>
					<td width="83%" class="smallfont">
						<?php 
echo comboCategory('ddCat', getArrayNews($tableCategoryConfig), 'smallfont', $parent, 0);
?>
					</td>

				</tr>
				
				<tr>
					<td width="15%" class="smallfont" align="right">Thứ tự sắp xếp</td>
					<td width="1%" class="smallfont" align="right"></td>
					<td width="83%" class="smallfont">
						<input value="<?php 
echo $sort;
?>
" type="text" name="txtSort" class="textbox" size="12">					</td>

				</tr>