Jump to content
xisto Community
KansukeKojima

Apparently This Isn't Working... help please

Recommended Posts

ok well I'm using a single php tag, all my pages are located on one page file, I'm just using variables to change the output... so I only need on page.. when I uploaded the file, the links didn't work.... anyone explain please? It worked on a different host that I don't use anymore... so its not the code itself... does trap just not support it?
if you wish to view the page then go here http://forums.xisto.com/no_longer_exists/

<?php$time = date("g:ia");if($loc == "") {$content = <<< htmlWelcome to my blog! Its just been set up so don't expect anything grand for the moment. There isn't really anything on here for now, so comeback later!html;}if($loc == "art") {$content = <<< htmlThis page will eventually have some art on it.html;}if($loc == "writing") {$content = <<< htmlThis page will eventually have some writing on it.html;}if($loc == "articles") {$content = <<< htmlthis page will eventually have articles about things...html;}$template = <<< html<html><head><title>2K Blogs\\KansukeKojima</title></head><body marginwidth="0" topmargin="5" rightmargin="5" leftmargin="5" bottommargin="5" bgcolor="#505050"><link rel="stylesheet" href="css.css" type="text/css"><table border="0" width="780" cellpadding="2" cellspacing="4" align="center"><tr valign="top"><td valign="top" width="780" class="head"><img src="banner.jpg"></td></tr><tr valign="top"><td valign="top" width="780" class="table_class" bgcolor="#727272"> About Me | <a href="$PHP_SELF?loc=art">Art</a> | <a href="http://2kart.trap17.com" target="_blank">2K ART</a> | <a href="$PHP_SELF?loc=articles">Articles</a> | <a href="$PHP_SELF?loc=writing">Writing</a> | <a href="$PHP_SELF">Index</a> </td></tr><tr valign="top"><td valign="top" width="780" class="table_class" bgcolor="#727272">$content</td></tr><tr valign="top"><td valign="top" width="780" class="table_class" bgcolor="#727272">Copyright Š 2004.  All Rights Reserved.</td></tr></table></body></html>html;echo $template;?>

Edited by KansukeKojima (see edit history)

Share this post


Link to post
Share on other sites

I am not familiar with the "three angled bracket" method you have used in your template. Can you provide a link that explains the method, please.The link with target=_blank does open a new window, but the content does not change for it.

Share this post


Link to post
Share on other sites

I am not familiar with the "three angled bracket" method you have used in your template.

 

Can you provide a link that explains the method, please.

 

The link with target=_blank does open a new window, but the content does not change for it.

you mean the <<< part?

 

EDIT:

You know what... I think that I will just try coding it a little differently... save everyone some trouble... I think I've got a method to use.... let me see...

Edited by KansukeKojima (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.