Linera
-
Posts
62 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Linera
-
-
cms building
in PHP
I already know what its for.It for my clan site.
-
cms building
in PHP
I pretty much know how the page will look.
-
cms building
in PHP
How exactly do I build the php template for the pages?well, first I would get a template for all the pages. -
cms building
in PHP
I'm trying to figure out how to build a cms for my site.So far I've had no luck figuring it out.I've looked at other cms and can't figure out how they built the layout without html, among other things like the admin section.So does anyone have any guides, tutorials, or any info on this subject?
-
-
did nothingsee http://souimappers.post2hostit.com/status.php
-
-
I used that above xml parse class script.See the end results at http://souimappers.post2hostit.com/status.phpIt suppose to place a or in front or the name.Here is the entire script:
<?phprequire_once( 'xmlparse.php' );$url = "http://worldofwarcraft.com/realmstatus/status.xml";$server = "Akama";//==========[ XML PARSER ]============================================================= $xml_parse =& new xmlParser(); $err = 1; if( $xml_parse->parse($url) ) { if ( count( $xml_parse->output ) ) { if( is_array($xml_parse->output[0]['child']) ) { foreach ( $xml_parse->output[0]['child'] as $xml_array ) { foreach ( $xml_array as $xml_server ) { if ( $xml_server['N'] == $server ) { $err = 0; switch ( $xml_server['S'] ) { case 0: $serverstatus = 'Down'; break; case 1: $serverstatus = 'Up'; break; case 2: $serverstatus = 'Maitenence'; break; default: $serverstatus = 'Unknown'; } switch ( $xml_server['T'] ) { case 0: $servertype = '(RP-PvP)'; break; case 1: $servertype = 'Normal'; break; case 2: $servertype = '(PvP)'; break; case 3: $servertype = '(RP)'; break; default: $servertype = 'Unknown'; } switch ( $xml_server['L'] ) { case 1: $serverpop = 'Low'; break; case 2: $serverpop = 'Medium'; break; case 3: $serverpop = 'High'; break; case 4: $serverpop = 'Max'; break; default: $serverpop = 'Error'; } } } } } } } else { $err = 1; }if ($serverstatus == 'Down') echo ("<img src='/shared/wow-com/images/icons/serverstatus/downarrow.gif' width='18' height='18'>");elseif ($serverstatus == 'Up') echo ("<img src='/shared/wow-com/images/icons/serverstatus/uparrow.gif' width='18' height='18'>");elseif ($serverstatus == 'Maitenence') echo ("<img src='/shared/wow-com/images/icons/serverstatus/downarrow.gif' width='18' height='18'>");echo ($server)?>
-
And instead of single quotes, if you want to have double ones in the htnml source code too, you may choose to use escaped double quotes inside double quoted strings like this:[*Edit:]That last error means (may mean) there is something wrong with the external file, or the internal code, that defines your classes. It may be the URL you use if it is an external file, that is incorrect. Could you show the part that defines your classes, or describe it if it is too long?
$url = "http://worldofwarcraft.com/realmstatus/status.xml";$server = "Akama";
-
-
Why am I getting this error:
forParse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/souimapp/public_html/status.php on line 79if ($serverstatus == 'Down') echo ("<img src="/shared/wow-com/images/icons/serverstatus/downarrow.gif" width="18" height="18">");elseif ($serverstatus == 'Up') echo ("<img src="/shared/wow-com/images/icons/serverstatus/uparrow.gif" width="18" height="18">");elseif ($serverstatus == 'Maitenence') echo ("<img src="/shared/wow-com/images/icons/serverstatus/downarrow.gif" width="18" height="18">");echo ($server)
I thought you can use html inside echo.
-
and still no one will help me....215+ views and no one will help me.
-
Read my first post.The menu section don't open and close correctly and menu items get placed in the wrong location and stuff.I can't post the code as there are several javascript files that control the menu.wow nice page !!!!but what is the problem exactly ?can you post the code of the menu ? -
omg, no one can help me?
-
I am having problems with my menu that was built with javascript.Preview problems at:http://www.crystalonline.agff.net/index.xmlI have hosted on my filefront page the scripts and xsl file (in case you need it)Here is the url:Download herePlease make it so I can add and remove links without it causing this problem again.
-
What does @*|node() in
<xsl:apply-templates select="@*|node()"/>
mean?
javascript built menu for my site
in JavaScript
Posted
Is anyone ever gonna help me with this?