Jump to content

Linera

Members
  • Posts

    62
  • Joined

  • Last visited

Everything posted by Linera

  1. Is anyone ever gonna help me with this?
  2. Linera

    cms building

    I already know what its for.It for my clan site.
  3. Linera

    cms building

    I pretty much know how the page will look.
  4. Linera

    cms building

    How exactly do I build the php template for the pages?
  5. Linera

    cms building

    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?
  6. Linera

    php error

    got it to work now.
  7. Linera

    php error

    did nothingsee http://souimappers.post2hostit.com/status.php
  8. Linera

    php error

    I check the server status and its currently up.doing it lower case still doesn't work.
  9. Linera

    php error

    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)?>
  10. Linera

    php error

    $url = "http://worldofwarcraft.com/realmstatus/status.xml";$server = "Akama";
  11. Linera

    php error

    now it gives: for$xml_parse =& new xmlParser();
  12. Linera

    php error

    Why am I getting this error: forif ($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.
  13. and still no one will help me....215+ views and no one will help me.
  14. 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.
  15. 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.
  16. What does @*|node() in <xsl:apply-templates select="@*|node()"/> mean?
×
×
  • Create New...