예제 #1
0
파일: awl.php 프로젝트: kupschke/sgwi
    if ($mode == "email") {
        $sn = $line["sender_name"];
        echo '
					<tr>
						<td width="20"><input type="checkbox" name="chk[]" value="' . $sn . '@@' . $sd . '@@' . $src . '" /></td>
						<td width="300"><span title="' . $sn . '">' . shorten_it($sn, 42) . '</span></td>
						';
    } else {
        $sn = "noname";
        echo '
					<tr>
						<td width="20"><input type="checkbox" name="chk[]" value="' . $sn . '@@' . $sd . '@@' . $src . '" /></td>
						';
    }
    echo '
						<td width="240"><span title="' . $sd . '">' . shorten_it($sd, 35) . '</span></td>
						<td width="100">' . $src . '</td>
						<td width="120">' . $fs . '</td>
						<td width="120">' . $ls . '</td>
					</tr>
					';
}
?>
			    <tr><td><a name="end"></a></td></tr>
			</table>
		</div>
		
		<br />
		
		<table width="100%" summary="buttons">
	            <tr>
예제 #2
0
파일: connect.php 프로젝트: kupschke/sgwi
}
$query = "SELECT sender_name, sender_domain, src, rcpt, first_seen FROM connect ORDER BY " . $order;
$result = do_query($query);
while ($line = fetch_row($result)) {
    $sn = $line["sender_name"];
    $sd = $line["sender_domain"];
    $src = $line["src"];
    $sr = $line["rcpt"];
    $fs = $line["first_seen"];
    echo '
				<tr>
					<td width="20"><input type="checkbox" name="chk[]" value="' . $sn . '@@' . $sd . '@@' . $src . '@@' . $sr . '" /></td>
				    	<td width="210"><span title="' . $sn . '">' . shorten_it($sn, 30) . '</span></td>
			    		<td width="190"><span title="' . $sd . '">' . shorten_it($sd, 30) . '</span></td>
			    		<td width="100">' . $src . '&nbsp;</td>
					<td width="260"><span title="' . $sr . '">' . shorten_it($sr, 40) . '</span></td>
					<td width="120">' . $fs . '</td>
				</tr>
					';
}
?>
			    <tr><td><a name="end"></a></td></tr>
			</table>
		</div>
		
		<br />
		
		<table width="100%" summary="options">
	            <tr>
			<td>
			    <input type="radio" name="acttype" value="dodelete" /> Forget (delete) selected entries<br />