Login   Register  
PHP Classes
elePHPant
Icontem

File: table_navigation.inc

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of AUDUTEAU  >  admin_XML.lib  >  table_navigation.inc  >  Download  
File: table_navigation.inc
Role: ???
Content type: text/plain
Description: Link Personalization
Class: admin_XML.lib
Author: By
Last change:
Date: 2001-05-29 13:17
Size: 1,122 bytes
 

Contents

Class file image Download
<?
// ---------------------------------------------------------------------------
// 	Permet d'intégrer un type de navigation inter fichiers XML lié à 
//	l'identifiant de la donnée (sert de lien)
// 
//	Doit obligatoirement charger la 1ère colonne
// ---------------------------------------------------------------------------
	Global $Title;

	If ( strpos($TrtFile,C_SectionFile )=== False )
	{
		If ( strpos( $TrtFile, C_PageFile ) === False )
		{
			$NextFile = trim($SearchData[$i][2]) . C_SectionFile ."\" title=\"" . $Title[6]. "\"";
//		} else {
//			$NextFile = $FileName . "&action=display&record=" . ($i + 1)."\" title=\"" . $Title[7]. "\"";
		}
	} else 
	{
		$NameFile = $FileName ;
		$NextFile = str_replace( C_SectionFile , C_PageFile, $NameFile ) . "\" title=\"" . $Title[8]. "\"";
	} 

	If (isset( $NextFile)) {
		print "<td  bgcolor=\"" . C_bgAction . "\" valign=\"top\" align=\"Center\"><a href=\"" . C_ADMIN_APP . "?FileName=" . $NextFile . ">" . $i . "</a></td>";
	} else {
		print "<td  bgcolor=\"" . C_bgAction . "\" valign=\"top\" align=\"Center\">" . $i . "</td>";
	}
?>