Location: PHPKode > projects > PAS SiteManager > passitemanager/includes/header.inc.php
<html>
  <head>
    <title>PAS Sitemanager - <?php echo $pageTitle;?></title>
    <LINK REL=stylesheet TYPE="text/css" HREF="includes/style.css">
    <META name="author" content="Philippe Lewicki">
    <META name="copyright" content="SQLFusion LLC">
  </head>
  <style>
     .maintable {
         border-width: thin;
         border-style: solid;
         border-color: black;
     }
    .addlink {  font-size:8pt; font-family:verdana,arial,sans-serif; color:#666666; text-decoration:none; }
    .addlink:hover {  font-size:8pt; font-family:verdana,arial,sans-serif; color:red; text-decoration:none; }
    .buttonlabel { font-size:3.5mm;font-family:verdana,arial;color:BLACK;text-decoration:none }   
    .tdbutton { font-size:8pt; font-family:verdana,arial,sans-serif; color:#666666; text-decoration:none; padding:2px}
    .tabletoolbar { border-style:solid;border-width:thin; background-color:#E2E6FA;}
    </STYLE>
  </style>	   
  <BODY bgcolor="white">
  <table class="maintable" width="100%" bgcolor="#dbdFF7">
    <tr width="250">
        <td background="images/stripe_bg.gif">
          <table><tr><td align="left">
             <b>PAS Site Manager</b>
             <a href="../<?php echo $cfg_project_info["dirproject"]; ?>" target="_new" class="projectName"><br>
             <!--<div class="projectName">-->
             <?php echo $cfg_project_name?>
             <!--</div>-->
             </a>
             </td>
             <?php  if (file_exists($cfg_project_info["dirproject"]."/pagebuilder.php" )) { ?>
             <td align="right">
             <a href="<?php echo $cfg_project_info["dirproject"] ;?>/pagebuilder.php" title="<?php echo $strSwitchToPagebuilder;?>"><IMG src="images/siteManager_switch.gif" border="0">
             </td>
             <?php  } ?>
             </tr>
           </table>
        </td>
        <td background="images/stripe_bg.gif" align="left">
          <table class="trtoolbar" valign="top" cellspacing="5">
             <tr>
                <?php  if ($cfg_noproject_management != true) { ?>
               <td class="tdbutton" valign="top" align="center">
        <?php 
            $eNewProject = new Event("webide.manageProject", "new") ;
        ?>
            <A href="<?php echo $eNewProject->getUrl();?>" title="<?php echo $strNewProjectTitle;?>" class="addlink"><IMG src="images/projectnew.gif" border="0"><br>New Project</A>
              </td>
              <td class="tdbutton" valign="top" align="center">
           <?php 
                $e_OpenProject = new Event("webide.clearallsession") ;
                $e_OpenProject->addParam("openprojectpage", "project.php") ;
           ?>
    &nbsp;  <A href="<?php echo $e_OpenProject->getUrl()?>" title="<?php echo $strOpenProjectTitle; ?>" class="addlink"><IMG src="images/projectopen.gif" border=0><br>Open Project</A>
              </td>
              <td class="tdbutton" valign="top" align="center">
          <?php 
                $eEditProject = new Event("webide.manageProject", "edit") ;
                $eEditProject->addParam("project_name", $cfg_project_name) ;
      ?>&nbsp; 			<A href="<?php echo $eEditProject->getUrl();?>" title="<?php echo $strEditProjectTitle ;?>" class="addlink"><IMG src="images/projectedit.gif" border=0><br>Edit Project</A>
              </td>
               <?php  } ?>
             <td class="tdbutton" valign="top" align="center">
          <?php 
                $e_EditFTPSync = new Display("editftpsync.php") ;
                $e_EditFTPSync->addParam("project_name", $cfg_project_name) ;
      ?><A href="<?php echo $e_EditFTPSync->getUrl();?>" title="<?php echo $strFTPSetupTitle ;?>" class="addlink"><img src="images/ftpsetup.gif" border="0"><br>FTP setup</A>
            </td>
            <td class="tdbutton" valign="top" align="center">
          <?php 
            if (file_exists($cfg_local_projects_dir.$cfg_project_name.".ftp.prj")) {
                $e_doFTPSync = new Event("webide.Synchronisation.CheckFiles") ;
                $e_doFTPSync->setLevel(100);
                $e_doFTPSync->addEvent("passitemanager.prepareSyncPagebuilder", 80);

                $e_doFTPSync->addParam("project_name", $cfg_project_name) ;
      ?><A href="<?php echo $e_doFTPSync->getUrl();?>" title="<?php echo $strDoSynchronisationTitle ;?>" class="addlink"><img src="images/sync.gif" border="0"><br>Synchronize</A>
            <?php  } else { ?>
            <img src="images/sync.gif" border="0"><br>Synchronize
            <?php  } ?>
            </td>
            <td  class="tdbutton" valign="top" align="center">
            <a href="package.php" title="<?php echo $strPackageTitle?>" class="addlink"><img src="images/package.gif" border="0"><br>Packages</a>
            </td>
           <TD align="right" class="tdbutton" valign="top">
           <a href="help.php" title="<?php echo $strHelp;?>" class="addlink"><IMG src="images/help.gif" border=0><br>Help</A>
           </td>   
         </tr>
       </table>       
      </td>
      
    </tr>
    <tr>
    <td valign="top" width="250">
<?php 	  if (ereg("editftpsync.php$",$PHP_SELF) || ereg("project.php$", $PHP_SELF) || ereg("package.php$", $PHP_SELF)) {  ?>
	  <table class="maintable" bgcolor="white">
	  	  <tr>
		  <td bgcolor="darkblue"><b><font color="white">Help</font></b></td>
		  </tr>
		  <tr>
			  <td class="helptext">
		  <?php 
		  if (ereg("editftpsync.php$",$PHP_SELF)) {
		      include("docs/".$lang."/publish.html");
		  }
			if (ereg("project.php$", $PHP_SELF)) {
			    include("docs/".$lang."/project.html");
			}
			if(ereg("package.php$", $PHP_SELF)) {
					include("docs/".$lang."/package.html");
			}
		?>
			  </td>
		  </tr>
	  </table>
<?php  } ?>
    - </td>
  <td valign="top" bgcolor="#dbdFF7">
Return current item: PAS SiteManager