Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
[Lock Please] Integrate script with php safe includes?
I am working on a design that uses Safe Dynamic Includes to navigate and display the site.
Is there any way to integrate the script into the coding I am doing for the site? Here is a snippet of the code I'm working with if that helps. Code:
<HTML> <HEAD> <TITLE>The World of Earith | Familiar Elements</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> <link rel="stylesheet" href="style.css" type="text/css" /> <link rel="shortcut icon" href="images/favicon.ico" /> </HEAD> <body><table width="600" border="0" align="center" cellpadding="0" cellspacing="0"> <tr><td class="clear"> </td><td class="clear" width="25"></td><td class="content" width="400"><img src="images/mapblank.jpg" border="0" /></td></tr> <tr><td colspan="3" class="clear"></td></tr> <tr><td class="header">World Map</td><td class="clear" width="25"></td><td class="header">Welcome to Earith</td></tr> <tr><td class="content" rowspan="4" valign="top"> <ul> <li><a href="?x=tower">The Wizard's Tower</a></li> <li><a href="?x=marketplace">The Marketplace</a><li> <li><a href="?x=glenn">The Fairy Glenn</a></li> <li><a href="?x=ruins">The Ruins</a></li> </ul> <h2>Apprentice Panel</h2> <ul><li><a href="login.php">Return</a> <li><a href="?x=dormitory">Your Dormitory</a></li> </td><td class="clear" rowspan="4"> </td><td class="content"><p>Welcome young apprentice. Here you can adopt a Familiar to help you grow in your magic abilities. Please join our <a href="http://forum.familiarelements.info" target="_blank">forum</a> after registering for the site to keep up to date.</p> <p>Here you will find the animals that we have carefully bred from enhanced parents that will become wonderful familiars with magickal abilities.</p> <p>Each familiar has it's own nuances and abilities, you'll have to wait until our Grimore is finished before you can figure out what your familiar can do.</p> <p>A magickal world not unlike others, mystical and full of wonder.</p> <p>Visit the Wizard's Tower to adopt a familiar to raise and train. Take care of your familiar when you rest in the dormitory.</p> <p>Learn more about Earith and the familiars you have access to through the Grimoire. Spend some time at the Conclave with your peers and other fully trained wizards and witches.</p> <p>Fund the efforts of the Tower Master and see who has helped and contributed to our world.</p> </td></tr> <tr><td class="clear"> </td></tr> <tr><td class="header">Updates</td></tr> <tr><td class="content"> <p><!-- Twitter Please ---> <div id="twitter_div"> <h2 style="display: none;" >Twitter Updates</h2> <ul id="twitter_update_list"></ul> <a href="http://twitter.com/familiarelement" id="twitter-link" style="display:block;text-align:right;">follow me on Twitter</a> </div> <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script> <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/familiarelement.json?callback=twitterCallback2&count=5"></script> </p> </td></tr> <tr><td class="clear" colspan="3"> </td></tr> <tr><td class="header" colspan="3">Affiliates</td></tr> <tr><td class="content" colspan="3"><center><a href="http://starduskstudios.net" target="_blank"><img src="http://i221.photobucket.com/albums/dd159/tlcportfolio/linkus/sds-button.jpg" border="0" alt="Stardusk Studios" title="Stardusk Studios" /></a> <a href="http://www.arvyre.com/" target="_blank"><img src="images/arvyre.png" border="0" alt="Arvyre" title="Arvyre" /></a> <a href="http://www.petsgalorespa.net" target="_blank"><img src="http://i44.tinypic.com/jufozk.gif" border="0" alt="Pets Galore Spa"></a><br /> <a href="http://www.kqzyfj.com/click-3414594-10653867" target="_blank"> <img src="images/image-3414594-10653867.htm" width="88" height="31" alt="DAZ 3D" title="Daz 3D" border="0"/></a> <a href="http://www.renderosity.com/index.php?AID=164" target="_blank"><img src="images/rosity.gif" border="0" alt="Renderosity" title="Renderosity" /></a><br /><a href="http://secure.hostgator.com/cgi-bin/affiliates/clickthru.cgi?id=enddayne-fepets" target="_blank"><img src="images/hostgator_green80x15.gif" border="0" alt="HostGator" title="HostGator" /></a> </center></td></tr> <tr><td class="clear" colspan="3"> </td></tr> </table></div> </BODY> </HTML> |
#2
|
||||
|
||||
RE: Integrate script with php safe includes?
I just had a thought Brandon. If I kill the template information for the script and insert the PHP codes for the script into the header of the site would that work? If so, what would I need to delete and where?
|
#3
|
|||
|
|||
RE: Integrate script with php safe includes?
To kill the template system, in each file you would need to find and comment out / delete:
PHP Code:
You can also echo the other variables for the script out such as the one that controls if a user is logged in or not, or you can integrate that all some other way. |
#4
|
||||
|
||||
RE: Integrate script with php safe includes?
All right. Now that I know what to get rid of I'll be able to get the new layout up for users soon. They'll be happy about that.
|
#5
|
||||
|
||||
RE: Integrate script with php safe includes?
I'm doing this in a beta subdomain, and I'm getting this error now:
Code:
Parse error: syntax error, unexpected $end in /home/enddayne/public_html/beta/header.php on line 248 PHP Code:
PHP Code:
|
#6
|
|||
|
|||
RE: Integrate script with php safe includes?
Is that the whole code of header.php? What is the link to this so I can take a look.
|
#7
|
||||
|
||||
RE: Integrate script with php safe includes?
I've got some sections of it sorted out, but there are still errors popping up (register2, can't display login box in sidebar).
The link is http://beta.familiarelements.info, I've been adding PHP Code:
|
#8
|
||||
|
||||
RE: Integrate script with php safe includes?
New development, working on editing register2.php
Code:
Parse error: syntax error, unexpected T_IF, expecting ',' or ';' in /home/enddayne/public_html/beta/register2.php on line 19 PHP Code:
|
#9
|
|||
|
|||
RE: Integrate script with php safe includes?
This line is incorrect:
PHP Code:
PHP Code:
|
#10
|
||||
|
||||
RE: [Lock Please] Integrate script with php safe includes?
I'm just going to scrap this. Did some editing and now the site works fine. Going to have to do a new template though...
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Forum Integrate Not Working | AlexC | Questions and Supports | 11 | 11-26-2013 06:29 AM |
How would I integrate Adoptables to a user system? | wilfred888 | Questions and Supports | 5 | 10-19-2010 04:49 AM |
[Lock Please] Account changes | Tequila | Questions and Supports | 6 | 08-01-2009 02:27 PM |
What's New? |
What's Hot? |
What's Popular? |