Location: PHPKode > projects > Blogs manager > blogs/templates/_comments_list.htm
<html>
<head>
<title>blog's comments</title>
<link REL="stylesheet" href="include/style.css" type="text/css">
</head>
<body topmargin=5 {$onload}>
{$includes}

{include_if_exists file="include/header.php"}

<form name="frmSearch" method="GET" action="_comments_list.php">
<input type="Hidden" name="a" value="search">
<input type="Hidden" name="value" value="1">
<input type="Hidden" name="SearchFor" value="">
<input type="Hidden" name="SearchOption" value="">
<input type="Hidden" name="SearchField" value="">
</form>
<table width=99% align=center border=0 cellpadding=0 cellspacing=0><tr><td>
{include file="$showmasterfile"}
{if $mastertable!=""}
<p align=center><a href="{$mastertable_short}_list.php?a=return" class="toplinks"><b>Back to Master table</b></a></p>
{/if}

<table class="navigation" cellspacing="0" cellpadding="0" width=100% border=0 height=36>
<tr>
<td class=logged_left width=5></td>
<td align=left class=logged valign=middle style="padding-top:2">
<span style="white-space:nowrap">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font style="FONT-FAMILY: Verdana, Arial;">Logged as</font>&nbsp;<b>{$userid}</b>&nbsp;
<span class=buttonborder><input type=button class=button value="Log out" onClick="window.location.href='login.php?a=logout';"></span>


 {if $guest==0} 
&nbsp;&nbsp;&nbsp;
<span class=buttonborder><input type=button class=button value="Change password" onClick="window.location.href='changepwd.php';"></span>
</td>
 {/if} 
</span>
<td align=right class=logged valign=middle style="padding-top:2">&nbsp;
<span style="white-space:nowrap">
 {if $allow_search} 
&nbsp;&nbsp;&nbsp;
<span class=buttonborder><input type=button class=button value="Advanced search" onClick="window.location.href='_comments_search.php';"></span>
 {/if} 

{if $rowsfound}

 {if $allow_export} 
&nbsp;&nbsp;&nbsp;
<span class=buttonborder><input type=button class=button value="Export results" onClick="window.open('_comments_export.php','wExport');return false;"></span>
 {/if} 

 {if $allow_export} 
&nbsp;&nbsp;&nbsp;
<span class=buttonborder><input type=button class=button value="Printer-friendly version" onClick="window.open('_comments_print.php','wPrint');return false;"></span>
 {/if} 

{/if}

<!--language-->
</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td class=logged_right width=5></td>
</tr>
</table>

<br>
<table class="body2" cellspacing="0" cellpadding="0" border=0>
<tr>
{if $allow__authors}
		<td width=5px><img src="include/img/but_left_2.gif" border=0></td>
	<td class="td_border_menu2_gif">
	<a width=5px class="menu_db2" href="_authors_list.php">authors</a>
	</td>
	<td><img src="include/img/but_right_2.gif" border=0></td>
{/if}
{if $allow__blogs}
		<td width=5px><img src="include/img/but_left_2.gif" border=0></td>
	<td class="td_border_menu2_gif">
	<a width=5px class="menu_db2" href="_blogs_list.php">blogs</a>
	</td>
	<td><img src="include/img/but_right_2.gif" border=0></td>
{/if}
{if $allow__comments}
		<td width=5px><img src="include/img/but_left_1.gif" border=0></td>
	<td class="td_border_menu_gif">
	<a width=5px class="menu_db" href="_comments_list.php">blog's comments</a>
	</td>
	<td><img src="include/img/but_right_1.gif" border=0></td>
{/if}
{if $allow_categoriesblogs}
		<td width=5px><img src="include/img/but_left_2.gif" border=0></td>
	<td class="td_border_menu2_gif">
	<a width=5px class="menu_db2" href="categoriesblogs_list.php">categories blogs</a>
	</td>
	<td><img src="include/img/but_right_2.gif" border=0></td>
{/if}
{if $allow_chosen_authors}
		<td width=5px><img src="include/img/but_left_2.gif" border=0></td>
	<td class="td_border_menu2_gif">
	<a width=5px class="menu_db2" href="chosen_authors_list.php">chosen authors</a>
	</td>
	<td><img src="include/img/but_right_2.gif" border=0></td>
{/if}
{if $allow__category}
		<td width=5px><img src="include/img/but_left_2.gif" border=0></td>
	<td class="td_border_menu2_gif">
	<a width=5px class="menu_db2" href="_category_list.php">categories</a>
	</td>
	<td><img src="include/img/but_right_2.gif" border=0></td>
{/if}
{if $allow__rate}
		<td width=5px><img src="include/img/but_left_2.gif" border=0></td>
	<td class="td_border_menu2_gif">
	<a width=5px class="menu_db2" href="_rate_list.php">rate</a>
	</td>
	<td><img src="include/img/but_right_2.gif" border=0></td>
{/if}
{if $allow__comments_Report}
		<td><img src="include/img/but_left_2.gif" border=0></td>
	<td class="td_border_menu2_gif">
    <a class="menu_db2" href="_comments_Report_report.php">blog's report</a></td>
	</td>
	<td><img src="include/img/but_right_2.gif" border=0></td>
{/if}
{if $allow__policy}
		<td width=5px><img src="include/img/but_left_2.gif" border=0></td>
	<td class="td_border_menu2_gif">
	<a width=5px class="menu_db2" href="_policy_list.php">policy (FAQ)</a>
	</td>
	<td><img src="include/img/but_right_2.gif" border=0></td>
{/if}
{if $allow_help}
		<td width=5px><img src="include/img/but_left_2.gif" border=0></td>
	<td class="td_border_menu2_gif">
	<a width=5px class="menu_db2" href="help_list.php">help</a>
	</td>
	<td><img src="include/img/but_right_2.gif" border=0></td>
{/if}
</tr></table>



<table class="main_table_border_P" cellspacing="0" cellpadding="0" width=100% border=0>
<tr>
<td width=100% height=10px></td>
<td class=up_right2 width=5px height=10px>&nbsp;</td>
</tr>
<tr>
<td height="40" style="padding-bottom:10px;" align=right colspan=2>
 {if $allow_search} 

 {/if}  

&nbsp;&nbsp;&nbsp;
Details found: {$records_found}&nbsp;
Page {$page} of {$maxpages}


&nbsp;&nbsp;&nbsp;Records Per Page:
<select 
onChange="javascript: document.location='_comments_list.php?pagesize='+this.options[this.selectedIndex].value;">
<option value="10" {$rpp10_selected}>10</option>
<option value="20" {$rpp20_selected}>20</option>
<option value="30" {$rpp30_selected}>30</option>
<option value="50" {$rpp50_selected}>50</option>
<option value="100" {$rpp100_selected}>100</option>
<option value="500" {$rpp500_selected}>500</option>
</select>
</strong>&nbsp;&nbsp;&nbsp;
</span>
</td>
</tr>

 {if $allow_search} 
<tr><td class=body2 width=100% height=1px colspan=2></td></tr>
<table width="100%" cellpadding=0 cellspacing=0 disptype="controltable1" border=0>
<tr><td class=body3 align=right style="padding-top:12px;padding-right:10px;" colspan=3 height=40px>

 {if $allow_add} 
 <!-- Add new record -->
<span class=buttonborder><input disptype="control1" class=button type=button value="Add new" onclick="window.location.href='_comments_add.php'"></span>
 {/if} 
	   
{if $rowsfound}
	 

<span name="record_controls">
	 
 {if $allow_delete}  
<span class=buttonborder><input disptype="control1" class=button type=button value="Delete selected" onClick="if (confirm('Do you really want to delete these records?')) frmAdmin.submit(); return false;"></span>
 {/if}  

 {if $allow_export} 
<span class=buttonborder><input disptype="control1" class=button type=button value="Export selected" onclick="var c=0; if(frmAdmin.elements['selection[]'].length==undefined && frmAdmin.elements['selection[]'].checked) c=1; else for (i=0;i<frmAdmin.elements['selection[]'].length;++i) if (frmAdmin.elements['selection[]'][i].checked) c=1;  if(c==0) return true; frmAdmin.action='_comments_export.php';frmAdmin.target='_blank';frmAdmin.submit(); frmAdmin.action='_comments_list.php'; frmAdmin.target='_self';"></span>
 {/if} 

 {if $allow_export} 
<span class=buttonborder><input disptype="control1" class=button type=button value="Print selected" onclick="var c=0;if(frmAdmin.elements['selection[]'].length==undefined && frmAdmin.elements['selection[]'].checked) c=1; else  for (i=0;i<frmAdmin.elements['selection[]'].length;++i) if (frmAdmin.elements['selection[]'][i].checked) c=1;  if(c==0) return true; frmAdmin.action='_comments_print.php';frmAdmin.target='_blank';frmAdmin.submit(); frmAdmin.action='_comments_list.php'; frmAdmin.target='_self';"></span>
 {/if} 
</span>
   
{/if}

</td>
</tr>

 {/if} 

<tr>
<td class=navigat_left width=5px height=15px>&nbsp;</td>
<td class=navigat width=100%>&nbsp;</td>
<td class=navigat_right width=5px>&nbsp;</td>
</tr>
</table>

<tr><td width=100% class=body2>&nbsp;</td></tr>
 {if $rowsfound}

 {if $allow_search} 
<form method="POST" action="_comments_list.php" name="frmAdmin">
	<input type=hidden id="a" name="a" value="delete">
<tr><td colspan=2>
<!-- delete form -->


<table name="maintable" class="data" align="center" width="100%" border="0" cellpadding=3 cellspacing=0>
<!-- table header -->
<tr valign="top" class=blackshade>

<!--{if $column1show}-->

<td class="headerlist_left_gif_P">&nbsp;</td>


 {if $allow_edit} 
<td width=50 align="center" class="headerlist"><img src="include/img/icon_edit.gif"></td>
 {/if}  


<td width=50 align="center" class="headerlist"><img src="include/img/icon_view.gif"></td>

 {if $allow_delete || $allow_export } 
<td width=50 align="center" class="headerlist">
<input type=checkbox onClick = "var i; /*this.checked=!this.checked; */
if ((typeof frmAdmin.elements['selection[]'].length)=='undefined')
	frmAdmin.elements['selection[]'].checked=this.checked;
else
for (i=0;i<frmAdmin.elements['selection[]'].length;++i) 
	frmAdmin.elements['selection[]'][i].checked=this.checked;">
</td>
 {/if}  


<td class="headerlist">
<table cellpadding=0 cellspacing=0 border=0 align=center><tr><td>
<a class="tablelinks" 
href="_comments_list.php?orderby={$order_dir_blogfirstline}blogfirstline">
blogfirstline</a>
</td>
<td>{$order_image_blogfirstline}</td>
</table>
</td>
<td class="headerlist">
<table cellpadding=0 cellspacing=0 border=0 align=center><tr><td>
<a class="tablelinks" 
href="_comments_list.php?orderby={$order_dir_username}username">
username</a>
</td>
<td>{$order_image_username}</td>
</table>
</td>
<td class="headerlist">
<table cellpadding=0 cellspacing=0 border=0 align=center><tr><td>
<a class="tablelinks" 
href="_comments_list.php?orderby={$order_dir_date}date">
date</a>
</td>
<td>{$order_image_date}</td>
</table>
</td>
<td class="headerlist">
<table cellpadding=0 cellspacing=0 border=0 align=center><tr><td>
<a class="tablelinks" 
href="_comments_list.php?orderby={$order_dir_time}time">
time</a>
</td>
<td>{$order_image_time}</td>
</table>
</td>
<td class="headerlist">
<table cellpadding=0 cellspacing=0 border=0 align=center><tr><td>
<a class="tablelinks" 
href="_comments_list.php?orderby={$order_dir_rate}rate">
rate</a>
</td>
<td>{$order_image_rate}</td>
</table>
</td>
<td class="headerlist_right2">
<table cellpadding=0 cellspacing=0 border=0 align=center><tr><td>
<a class="tablelinks" 
href="_comments_list.php?orderby={$order_dir_comment}comment">
comment</a>
</td>
<td>{$order_image_comment}</td>
</table>
</td>
<td class="headerlist_right_gif_P">&nbsp;</td>
<!--{/if}-->
</tr>


<!-- table data -->
<!--{foreach from=$rowinfo item=row}-->


<tr valign="top"
{$row.shadeclass} 
onmouseover="this.className = 'rowselected';" onmouseout="this.className = '{$row.shadeclassname}';"
{$row.rowstyle}
> 


<!--{if $column1show}-->


<td>&nbsp;</td>

 {if $allow_edit} 
<td align="center" valign=middle class=borderbody>


<a class="tablelinks" href="_comments_edit.php?{$row.1editlink}" >
Edit</a>


</td>
 {/if}  



<td align="center" valign=middle class=borderbody>

<a class="tablelinks" href="_comments_view.php?{$row.1editlink}" >
View</a>

</td>

 {if $allow_delete || $allow_export } 
<td align="center" valign=middle class=borderbody>


<input type=checkbox name="selection[]" value="{$row.1keyblock}" id="check{$row.1recno}">


</td>
 {/if}  




<td align=center valign=middle class=borderbody {$row.1blogfirstline_style}>

{$row.1blogfirstline_value}

&nbsp;

</td>
<td align=center valign=middle class=borderbody {$row.1username_style}>

{$row.1username_value}

&nbsp;

</td>
<td align=center valign=middle class=borderbody {$row.1date_style}>

{$row.1date_value}

&nbsp;

</td>
<td align=center valign=middle class=borderbody {$row.1time_style}>

{$row.1time_value}

&nbsp;

</td>
<td align=center valign=middle class=borderbody {$row.1rate_style}>

{$row.1rate_value}

&nbsp;

</td>
<td align=center valign=middle  {$row.1comment_style}>

{$row.1comment_value}

&nbsp;

</td>
<td>&nbsp;</td>

<!--{/if} - column show-->
<!--{/foreach}-->

</tr>

<tr class=blackshade>

<!--{if $column1show}-->
    <td class=headerlistdown_left2_P height=15></td>
		 {if $allow_edit} 
	<td class=blackshade>&nbsp;</td>
	 {/if}  
	
		
		
		<td class=blackshade>&nbsp;</td>
	
	     {if $allow_delete || $allow_export } 
	<td class=blackshade>&nbsp;</td>
	 {/if}  
	

		<td class=blackshade>&nbsp;
		</td>
		<td class=blackshade>&nbsp;
		</td>
		<td class=blackshade>&nbsp;
		</td>
		<td class=blackshade>&nbsp;
		</td>
		<td class=blackshade>&nbsp;
		</td>
		<td class=blackshade>&nbsp;
		</td>
	<td class=headerlistdown_right2_P height=15>&nbsp;</td>
{/if}
	</tr>



{/if} 
</table>
<br>
</td>
</tr>
 {/if}  

{if $maxpages>1 || $message!=""}
{if $message!=""}
</table>
{/if}
<tr><td align=center>
<b class="xtop"><b class="xb1"></b><b class="xb2"></b><b class="xb3"></b><b class="xb4"></b></b>
<div class="xboxcontent">
<table cellpadding=0 cellspacing=0 border=0 width=99% align=center>
{if $rowsfound}
<tr>
<td align="center">{$pagination}</td>
</tr>
{/if} 
<tr name=notfound_message>
<td align="center" valign=middle>
<b>{$message}</b>
</td>
</tr>
</table>
</div>
<b class="xbottom"><b class="xb4"></b><b class="xb3"></b><b class="xb2"></b><b class="xb1"></b></b>
</td></tr>
{/if}

</table>
</td></tr></table>
</td></tr></table>
{doevent name="ListOnLoad"}
</td></tr></table>
</td></tr></table>
</form>
{include_if_exists file="include/footer.php"}
{$linkdata}
</body>
</html>
Return current item: Blogs manager