Beispiel #1
0
            <li><a href="index.php?subsite=technology&amp;page=ta_resources" data-page="ta_resources">TA Resources</a></li>
            <li><a href="index.php?subsite=technology&amp;page=faq" data-page="faq">FAQs</a></li>
		</ul>
		</dd>
	</dl>
	<div id="yoga">
		<img <?php 
if (empty($_SERVER['QUERY_STRING'])) {
    ?>
src="images/bendy_girl_front.jpg"<?php 
} else {
    ?>

		<?php 
    // dynamically changing
    switch (parse_subsite()) {
        case "home":
            echo "src='images/bendy_girl_front.jpg'";
            break;
        case "about":
            echo "src='http://www.ischool.utexas.edu/images/page_spice/bendy_girl002.jpg'";
            break;
        case "admission":
            echo "src='http://www.ischool.utexas.edu/images/page_spice/bendy_girl004.jpg'";
            break;
        case "careers":
            echo "src='http://www.ischool.utexas.edu/images/page_spice/bendy_girl005.jpg'";
            break;
        case "courses":
            echo "src='http://www.ischool.utexas.edu/images/page_spice/bendy_guy001.jpg'";
            break;
Beispiel #2
0
?>
>Current Students</a>
				</li>
				<li><a title="information for faculty and staff" href="index.php?subsite=facultynstaff"
				<?php 
if (parse_subsite() == "facultynstaff") {
    ?>
						class="current"
				<?php 
}
?>
>Faculty &amp; Staff</a>
				</li>
				<li><a title="information for alumni" href="index.php?subsite=alumni"
				<?php 
if (parse_subsite() == "alumni") {
    ?>
						class="current"
				<?php 
}
?>
>Alumni</a>
				</li>
	 		</ul>



    </div>
   </div><!-- end #header-->

<?php