$grid->set_col_attr(6, 'width', '75px');
$grid->set_col_attr(6, 'align', 'center');
$grid->set_col_attr(7, 'align', 'center');
$grid->set_col_attr(8, 'align', 'center');
$grid->set_col_attr(8, 'width', '20px');
$grid->set_col_attr(2, 'style', 'padding-left: 5px');
$grid->add_data_col('ctime', 'Discovered');
//$grid->add_html_col("<a target='_blank' title='{db_link}' href='{db_link}'><span class='link'></span></a>{db_link}",'Link');
$grid->add_php_col(' echo " <a target=\'_blank\' href=\'" . SEOR_make_absolute_url($db_link) ."\'> {$db_link}</a>" ;', 'Link');
$grid->add_php_col('if($db_referrer !="") echo "<a target=\'_blank\' title=\'$db_referrer\' href=\'$db_referrer\'><span class=\'link\'></span></a>" ;', 'Ref');
$grid->add_data_col('ip', 'IP');
$grid->add_data_col('country', 'Country');
$grid->add_data_col('os', 'OS');
$grid->add_data_col('browser', 'Browser');
$grid->add_template_col('redirect_link', '?page=' . $_GET['page'] . '&tab=cutom&add=1&page404={db_ID}', 'Redirect');
$grid->run();
?>
<div>* Too many 404 errors? <a target="_blank" href="http://www.clogica.com/kb/too-many-404-errors.htm">click here to see why?</a></div>
<br/><br/>
<form method="POST">
<h3>Unknown 404 Links Redirection<hr></h3>	
 
<table class="cform" width="100%">
	<tr>
		<td class="labelxx">Unknown 404 Redirection Status:</td>
		<td>
		<?php 
$drop = new dropdown('p404_status');
$drop->add('Enabled', '1');
$drop->add('Disabled', '2');
$drop->dropdown_print();