Location: PHPKode > projects > Site-Assistant > sas/sas/html_list01.class.php
<?php
/*******************************************************************************
Klasse list01
Aufgabe: Vorerst Auflistung von email Adressen für Newsletter
Bemerkungen: Objektvariablen von html_list_table werden gesetzt
*******************************************************************************/

class html_list01 extends html_list_table {
function html_list01() {
	$this->num_cols = 3;
	$this->table_param = "width='100%' cellspacing='0' cellpadding='1' border='0'";
	$this->tr_param = array("bgcolor='#E0E6EC'", "");
	$this->td_start = "<td width='1%'><img src='1x1.gif' width='12' height='21'></td>";
	$this->td_param = "class='list01' nowrap";
	$this->td_width = "35%";
	// $this->td_between = "<td width='20%'></td>";
	$this->pad_item_before = "<td colspan='2'>&nbsp;</td>";
}

function output($items, $start_index = 1) {
	$before[] = "";
	for ($i = $start_index; $i < $start_index + count($items); $i++)
		$before[] = "<td class='list01' valign='top' align='right'>$i.</td><td><img src='1x1.gif' width='6'></td>";
	return html_list_table::output($items, $before);
}

}

?>
Return current item: Site-Assistant