#!/usr/bin/perl
#
#
#
#
###########################################################
#
#
#
#			         prtfile1.pl
#			    copyright 2000 - 2012  FaultLine Productions
#
#
#
#
###########################################################
#
#

#
#
#define constants
#
$filebase = "../pagedata";
$graphix_ext = ".jpg";
$urlbase = "http://corinthianccatering.com";
$graphix_ext = ".jpg";
$http1 = "Content-type: text/html\n\n";
$mover = "prtfile1.pl?";
$home = "http://corinthiancatering.com/";
$target = "target=parent";
#
################################################
($what2do, $recordnum, $oreint) = split(/\&/, $ENV{'QUERY_STRING'});
open INFILE, "<$filebase/$what2do";
@allrecs = <INFILE>;
close INFILE;

$temprec = $allrecs[0];
@firstrec = split(/\|/, $temprec);

$next = $recordnum + 01;
if ($next < 10)	{
	$moveon = "$mover$what2do\&0$next";
 }
else {
$moveon = "$mover$what2do\&$next";
}


if ($recordnum == "00") {&do_firstrec; }
else {&do_realrec; }

$amount="";

print <<__END1__;
$http1
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:dc="http://purl.org/dc/terms/"
  xmlns:foaf="http://xmlns.com/foaf/0.1/"
  xmlns:og="http://ogp.me/ns#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:sioc="http://rdfs.org/sioc/ns#"
  xmlns:sioct="http://rdfs.org/sioc/types#"
  xmlns:skos="http://www.w3.org/2004/02/skos/core#"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

<head profile="http://www.w3.org/1999/xhtml/vocab">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta about="/dining" property="sioc:num_replies" content="0" datatype="xsd:integer" />
<meta content="Photo Gallery at Corinthian" about="/dining" property="dc:title" />
<link rel="canonical" href="/dining" />
<meta name="Generator" content="Drupal 7 (http://drupal.org)" />
<link rel="shortlink" href="/node/5" />
  
  <title>Photo Gallery | Corinthian Catering and Dining</title>
    <link type="text/css" rel="stylesheet" href="http://corinthiancatering.com/sites/default/files/css/css_CKoWqiBj9gVXhPuDSnNphuEB0b0J2To76x0pX0EGqn4.css" media="all" />
<link type="text/css" rel="stylesheet" href="http://corinthiancatering.com/sites/default/files/css/css_XfCdeEtKlbkG_tqfyKTegRl0fh651tkF-_sjnwRUm1o.css" media="all" />

<link type="text/css" rel="stylesheet" href="http://corinthiancatering.com/sites/default/files/css/css_sxxmRH1MG4WjKfMORxSsZgTbe6wmhzSt_jqUO9NOUt0.css" media="all" />
<link type="text/css" rel="stylesheet" href="http://corinthiancatering.com/sites/default/files/css/css_lr65AFBaH86a0dCh_kHrcCc9Gw8HIxctmAFy1bIcLwg.css" media="all" />
<link type="text/css" rel="stylesheet" href="http://corinthiancatering.com/sites/default/files/css/css_0P30yf8ip_HAc8ArO_30XCBAriMubp2DoyyAgDdOL7Q.css" media="all" />
  <script type="text/javascript" src="http://corinthiancatering.com/sites/default/files/js/js_3jHghlMLrjr9xXAC0JufqSSch3oAbkZstSqYdc4uuck.js"></script>
<script type="text/javascript" src="http://corinthiancatering.com/sites/default/files/js/js_Ry-LaIAQD9i7X2GkwfMwJtqISRdR_moX821ltx_7QUU.js"></script>
<script type="text/javascript" src="http://corinthiancatering.com/sites/default/files/js/js_xl1F9VNLMJUEkb1q-CU0WgyyxcK9yN8QNSUM9RA9ipI.js"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery(function(){
jQuery('#superfish-1').supersubs({minWidth: 12, maxWidth: 27, extraWidth: 1}).superfish({
animation: {opacity:'show'},
speed: 'fast',
autoArrows: false,
dropShadows: true});
});
//--><!]]>
</script>
	
</head>
<body class="not-front" >
  
  
 
  <div id="header">
  <div class="section">
    <div id="site-logo-and-name">

         <center>     <a href="/" title="Home" rel="home" id="logo">
          <img src="http://corinthiancatering.com/img/header.jpg" alt="Home" />
        </a>
        </center>
          </div> <!-- /#site-logo-and-name -->
  
            <div class="region region-header">
<!--    <div id="block-superfish-1" class="block block-superfish contextual-links-region first odd">

    <div class="contextual-links-wrapper"><ul class="contextual-links"><li class="block-configure first last"><a href="/admin/structure/block/manage/superfish/1/configure?destination=node/9">Configure block</a></li>

</ul></div>
  <div class="content">
    <ul id="superfish-1" class="sf-menu main-menu sf-horizontal sf-style-space-teal sf-total-items-7 sf-parent-items-0 sf-single-items-7"><li id="menu-373-1" class="active-trail first odd sf-item-1 sf-depth-1 sf-no-children"><a href="/venue" class="sf-depth-1">Our Venue</a></li><li id="menu-368-1" class="middle even sf-item-2 sf-depth-1 sf-no-children"><a href="/dining" title="Our kitchen can deliver a wide array of tempting treats." class="sf-depth-1 ">The Menu</a></li><li id="menu-369-1" class="middle odd sf-item-3 sf-depth-1 sf-no-children"><a href="/event" class="sf-depth-1 ">Your Event</a></li><li id="menu-370-1" class="middle even sf-item-4 sf-depth-1 sf-no-children"><a href="/corporate" class="sf-depth-1 ">Corporate</a></li><li id="menu-371-1" class="middle odd sf-item-5 sf-depth-1 sf-no-children"><a href="http://corinthiancatering.com/cgi-bin/prtfile.pl?prod.01.txt" title="" class="sf-depth-1  active ">Gallery</a></li><li id="menu-374-1" class="middle even sf-item-6 sf-depth-1 sf-no-children"><a href="http://cyc.org" title="Corinthian Yacht Club" class="sf-depth-1 ">CYC</a></li><li id="menu-362-1" class="last odd sf-item-7 sf-depth-1 sf-no-children"><a href="/contact" class="sf-depth-1 ">Contact Us</a></li></ul>  </div>
</div>
  </div>-->
  </div> <!-- /.section -->
</div> <!-- /#header -->

    <div id="main">
    <a id="main-content"></a>
        <div id="content">
                                <div class="tabs">
                  </div>
                    <div class="region region-content">
    <div id="block-system-main" class="block block-system first odd">


<table align="center" width="850">
   <tr>
      <td width="15%">&nbsp;</td>
      <td width="60%"><br>	
          <table align="center" cellpadding="5" cellspacing="5" border="3" bordercolordark="#804000" bordercolorlight="#884400" >
	         <tr>
		         <td align="center" valign="middle">
		 	        <div class="containerdiv">
		     		<img src="../gallery/$graphix" border="0" alt=""
		    		</div>		
				</td>
	         </tr>
	         <tr>
		       <td align="center">		
		          <b><font size="+1">$thisrec[2]<br>
		<p><font face = "Goudy Old Style" size="+1"><a href="javascript:history.go(-1)"  style="text-decoration:none" onmouseover="this.style.color='#00FF00';return true" onmouseout="this.style.color='#AAFF00'; return true">Back</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="$firstrec[3]">Thumbnails</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=$moveon style="text-decoration:none" onmouseover="this.style.color='#00FF00';return true" onmouseout="this.style.color='#AAFF00'; return true">Next</a><br><br>
		     </td>
          </tr>
     	</table>
     </td>
     <td width="15%">&nbsp</td>
    </tr>
</table>
  


<br><br><br>
</td></tr></table>
<div id="footer"><table width="100%" bgcolor="black"><tr><td bgcolor"black" align="center" width="50%" valign="top">
			<br><font color="white" size="-1">© Corinthian Catering and Dining, Inc.<br />43 Main Street<br>Tiburon, California, 94920<br />(415) 435-4812<br><br>&nbsp;</td><td align="center" width="50%" valign="top"><br><a href="http://corinthiancatering.com/venue"><font color="white" size="-1">Venue</a>&nbsp;&nbsp;&nbsp;<a href="http://corinthiancatering.com/dining"><font color="white" size="-1">The Menu</a><br><a href="http://corinthiancatering.com/event"><font color="white" size="-1">Your Event</a>&nbsp;&nbsp;&nbsp;<a href="http://corinthiancatering.com/corporate"><font color="white" size="-1">Corporate</a><br>Gallery&nbsp;&nbsp;&nbsp;<a href="http://cyc.org"><font color="white" size="-1">CYC</a>&nbsp;&nbsp;&nbsp;<a href="http://corinthiancatering.com/contact"><font color="white" size="-1">Contact Us</a></tr></table></div>
</body>

</html>
__END1__




exit;


sub do_firstrec {
$title = $firstrec[1];
$data = $firstrec[2];
$file = $firstrec[3];
#$graphix = $firstrec[4];
}

sub do_realrec {
foreach $temprec (@allrecs) {
		chomp $temprec;
		@thisrec = split(/\|/, $temprec);
		  if ($thisrec[0] eq $recordnum ) {
		  &gotit;
		  return;
		  }
		}
}

sub gotit {
$title = $firstrec[1];
$data = $thisrec[2];
$graphix = $thisrec[3];
$fulltext = $thisrec[4];
$thisrec[0] = $recordnum + 01;
$marker = $thisrec[6];
if ($marker eq "e") {
	&home;
	return
 }
}

sub home {
$exit  = $firstrec[4];
$moveon = $exit;
}
