Anto_J_Lareneg
05-10-2003, 10:41 AM
Stupid.. code. I cant get it to work right. Okay, first off I have a layout that uses PHP includes. But one of the pages it loads, I want to be a SSI page... but for some reason when you view it in the layout.. the links provided with SSI are gone. But when I view it without, they are there. C-c; Can someone tell me what's WRONG with these pages?
http://notopinionated.theanto.org/index.php?Anto_Art.shtml
http://notopinionated.theanto.org/Anto_Art.shtml
The top one excludes the links.. the bottom one has them.. ~_~;;
Anto_J_Lareneg
05-10-2003, 11:05 AM
Geh. I think I found another solution. I'll just use more php. ~_~; I wanted to use SSI. If someone can still tell me how to do this, it would help me for the other site I am building.
BugGirl
05-10-2003, 03:32 PM
I dont think it's possible, because to use php you need a .php file, and to use ssi you need a .shtml file
designhazard
05-15-2003, 12:57 AM
why don't you use all the pages with php?
here's the code for 'index.php'
<html>
<head>
<script language="javascript">
function jump(form) {
var myindex=form.Menu.selectedIndex
if (form.Menu.options[myindex].value != "0")
{
window.open(form.Menu.options[myindex].value,
target="_self");
}
}
//-->
</script>
<title>Not Opinionated!</title>
</head>
<style type="text/css">
a:link,{
color:FFFFFF;text-decoration:none;font:8pt abadi}
</style>
<style type="text/css">
a:visited{
color:FFFFFF;text-decoration:none;font:8pt abadi}
</style>
<style type="text/css">
a:hover{
color:6A5372;text-decoration:none;font:8pt abadi}
</style>
<style type="text/css">
a:active{
color:00FFFF;text-decoration:none;font:8pt abadi}
</style>
<body bgcolor="360047" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<div align=center>
<table width="775" height="100%" border="0" cellpadding="0" cellspacing="0" background="bgloop2.jpg">
<tr valign="top">
<td height="0" colspan="2">
<img src="top.jpg" border="0">
</td>
</tr>
<tr valign="top">
<td width="100%" height="100%">
<table width="100%" height="100%" border="0" cellpadding="5" cellspacing="0">
<tr valign="top">
<td>
<br>
<br>
<form name="Menu1" method="POST">
<select name="Menu" style="background-color: #8C00C0;
font size=10 ; font-family: abadi; color:#FFFFFF"
size="1">
<option value="0" style="background-color: #191999">This be a Menu!</option>
<option value="0"></option>
<option value="0" style="background-color: #191999">Misc Junk</option>
<option value="index.php?Why.html" style="background-color: #3C014F">Info on NO!</option>
<option value="index.php?Updates.html" style="background-color: #3C014F">Updates</option>
<option value="index.php?Contest.html" style="background-color: #3C014F">Contest</option>
<option value="index.php?Adopt.html" style="background-color: #3C014F">Adopt</option>
<option value="index.php?Downloads.html" style="background-color: #3C014F">Downloads</option>
<option value="index.php?Staff.html" style="background-color: #3C014F">Staff</option>
<option value="index.php?LinkMe.html" style="background-color: #3C014F">Link NO!</option>
<option value="index.php?Awards.html" style="background-color: #3C014F">Win an Award</option>
<option value="index.php?Awards_Won.html" style="background-color: #3C014F">Our Awards</option>
<option value="index.php?Contact.html" style="background-color: #3C014F">Contact</option>
<option value="0"></option>
<option value="0" style="background-color: #191999">Comic</option>
<option value="index.php?ComicArchive.html" style="background-color: #770082">Comic</option>
<option value="index.php?CastPage.html" style="background-color: #770082">Cast</option>
<option value="index.php?Sprites.html" style="background-color: #770082">Sprites</option>
<option value="index.php?Art.html" style="background-color: #770082">Art from NO!</option>
<option value="0"></option>
<option value="0" style="background-color: #191999">Anto!</option>
<option value="index.php?Anto_Art.php" style="background-color: #820062">Drawings</option>
<option value="index.php?Anto_Fiction.php" style="background-color: #820062">Fiction</option>
<option value="index.php?Anto_Fan_Art.php" style="background-color: #820062">Fan Art</option>
<option value="index.php?AntoPeep.html" style="background-color: #820062">Anto with people</option>
<option value="index.php?Anto_Sprite.html" style="background-color: #820062">Sprites</option>
<option value="0"></option>
<option value="0" style="background-color: #191999">Webmaster</option>
<option value="index.php?me_art_main.html" style="background-color: #1F4724">I want a picture</option>
<option value="index.php?sonic_art.html" style="background-color: #1F4724">Sonic Art</option>
<option value="index.php?Irken_art.html" style="background-color: #1F4724">Irken Art</option>
<option value="index.php?AboutMeh.html" style="background-color: #1F4724">About Me</option>
<option value="index.php?FindAnto.html" style="background-color: #1F4724">Where to find me</option>
<option value="index.php?Past.html" style="background-color: #1F4724">Past Sites</option>
<option value="index.php?PersonalityQuizzes.html" style="background-color: #1F4724">Personality Quiz results</option>
<option value="0"></option>
<option value="0" style="background-color: #191999">Interact</option>
<option value="http://AntoJ.friendtest.com" style="background-color: #4C0002">Anto Quiz</option>
<option value="index.php?Quiz/Quiz.html" style="background-color: #4C0002">NO Personality Quiz</option>
<option value="index.php?Contest.html" style="background-color: #4C0002">Current Contest</option>
<option value="index.php?OldContest/Contest001.html" style="background-color: #4C0002">Contest #1</option>
</select><br><div align=center>
<input type="button" onClick="jump(this.form)";"location = document.Menu1.Menu.options[document.Menu1.Menu.selectedIndex]..value;" value="Go" style="font-family:abadi" style="border style:none" style="background:#191999" style="color:#FFFFFF">
</select>
</form>
<a href="http://www.theanto.org" target="_blank"><img src="TheAntoorgSymbolLink.jpg" border="0"></a>
<br>
<br>
<a href="http://dimensia.theanto.org" target="_blank"><img src="DimensiaButton.jpg" border="0"></a>
<br>
<br>
<a href="http://forum.theanto.org" target="_blank"><img src="ForumButton.jpg" border="0"></a>
<br>
<br>
<a href="http://antojlareneg.deviantart.com" target="_blank"><img src="http://images.deviantart.com/deviants/antojlareneg.gif" border="0"></a>
<a href="http://24.deviantart.com" target="_blaink"><img src="http://images.deviantart.com/deviants/24.gif" border="0"></a>
</td>
<td bgcolor="#000000" height="100%" width="100%" background="black.bmp"><font color="C000FF"><br><div align='center'>
<?
if ($x) {
require $x;
}else{
include(main.php);
}
?>
<td height="100%" width="20">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img src="bottom.jpg" border="0">
</td>
</tr>
</table>
The text in bold is a replacement for the old one. Please note that you can use shtml too. If you want to include something, use index.php?x=pagename.shtml. The text in underline at the above code shoud be replaced by any page(main.php ect etc). Hope that helps :)