Location: PHPKode > projects > Comic > templates/default/artistTypeList.html.php
<?
// ---------------------------------------------
// |     Comic COMPONENT    			|
// |                                        	|
// |         Copyright (C) 2005 Rdemont       	|
// |                                        	|
// |           All rights reserved          	|
// ---------------------------------------------
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// Please note that the GPL states that any headers in files and
// Copyright notices as well as credits in headers, source files
// and output (screens, prints, etc.) can not be removed.
// You can extend them with your own credits, though...
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
//
// The "GNU General Public License" (GPL) is available at
// http://www.gnu.org/copyleft/gpl.html.
//-----------------------------------------------------------------------------
//--------------------------------------------------------------------------------------------------
// Autorisation d'accès
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
//--------------------------------------------------------------------------------------------------
?>
		<table width="100%">
			<tr>
				<td colspan="27" align="center">
					<h1><?php echo _ARTISTTYPELIST;?></h1>
					
				</td>
			</tr>		
			<tr>
				<td><a href="index.php?option=<?=$option?>&task=artistType_list&list=all" class="link_normal"><?php echo _ARTISTTYPELIST_ALL ?></a></td>
<?php		


		for($i='A'; $i<>'AA'; $i++)
		{

			  	echo "<td><a href=\"index.php?option=".$option."&task=artistType_list&list=".$i."\" class=\"link_normal\">".$i."</a></td>\n";
		}
?>			
			</tr>
		</table>

		<table width="100%">
			<tr>
<?php if (comic::hasModifyRight()){ ?>										
				<td nowrap="nowrap">
<a href="index.php?option=<?php echo $option ;?>&task=artistType_add" class="link_normal"><?php echo _ARTISTTYPELIST_ADDARTISTTYPE ;?></a>
				</td>
<?php } ?>				
				<td  width="100%" nowrap="nowrap">
					<?php echo _ARTISTTYPELIST_NAME ; ?>
				</td>
			</tr>
<?php
			for($i=0;$i<count($rows);$i++)
			{
				$row = $rows[$i];
?>			
			<tr>
<?php if (comic::hasModifyRight()){ ?>				
				<td>
<a href="index.php?option=<?php echo $option ;?>&task=artistType_edit&id=<?php echo $row->id ;?>" class="link_normal"><?php echo _ARTISTTYPELIST_EDITARTISTTYPE ;?></a>
				</td>
<?php } ?>			
				<td>
					<?php  echo $row->name ;?>	
				</td>
			</tr>			
<?php			
			}
?>		
		</table>
Return current item: Comic