Web Design & Development |
| |

| | Thread Tools |
|
05-Feb-2006, 01:15 PM
#1 |
| Solved: Ahh! PHP problum.. hey guys, ok heres the thing, i have a scrpit, and it should show up here www.visionstudios.be/test.php you get no error message or anything, but nothing shows up, and it should show a form.. <? include 'ndstats/stat_calc.php' ?> <html> <head> <meta http-equiv="Content-Language" content="en-us"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>Vision Studios!</title> <style type="text/css"> <!-- body, td, th { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000; } a:link { color: #333; text-decoration: none; } a:visited { text-decoration: none; color: #333; } a:hover { text-decoration: underline; color: #333; } a:active { text-decoration: none; color: #000; } --> </style> </head> <body bgcolor="#FFFFFF" topmargin="0"> <center> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="851" id="AutoNumber1"> <tr> <td width="13" background="images/left.gif"> <td width="825"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2" height="197"> <tr> <td width="100%" height="176"> <p align="left"> <img border="0" src="images/banner2.gif" width="824" height="176"></td> </tr> <tr> <td width="100%" background="images/navbg.gif" height="47"> <p align="left"> <img border="0" src="images/home.gif" width="129" height="47"><a href="forums/index.php?"><img border="0" src="images/forums.gif" width="138" height="47"></a><a href="tutorials.php"><img border="0" src="images/tutorials.gif" width="141" height="47"></a><img border="0" src="images/templates.gif" width="141" height="47"><a href="?id=staff"><img border="0" src="images/staff.gif" width="138" height="47"></a><a href="?id=affiliates"><img border="0" src="images/linkus.gif" width="138" height="47"></a></td> </tr> <tr> <td width="100%" height="5"> <p align="left"></td> </tr> <tr> <td width="100%" height="19"> <table border="0" cellpadding="6" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber3"> <tr> <td width="25%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber10"> <tr> <td width="21%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="6%" id="AutoNumber11"> <tr> <td width="100%"> <img border="0" src="images/nav.gif" width="150" height="32"></td> </tr> <tr> <td width="100%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber12"> <tr> <td width="3%" background="images/contentside.gif"> </td> <td width="91%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber13"> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> <a href="#">Main</a></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="index.php">Home</a></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> -<a href="?id=contact">Contact</a></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="?id=affiliates">Affiliates</a></td> </tr> <tr> <td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="?id=about">About Us</a></td> </tr> <tr> <td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="forums/index.php?">Forums</a></td> </tr> <tr> <td onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -<a href="?id=staff">Staff</a></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> Tutorials - <i>Soon</i></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -Adobe Photoshop</td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -CSS Stylesheets</td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -HTML</td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -PHP Coding</td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> Templates - <i>Soon</i></td> </tr> <tr> <td width="100%" onmouseover="this.style.background='#C9C9C9'" onmouseout="this.style.background='#FFFFFF'"> -View All</td> </tr> </table> </td> <td width="6%" background="images/contentside.gif"> </td> </tr> <tr> <td width="3%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="91%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="6%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> <tr> <td width="100%"> </td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/randomm.gif" width="150" height="33"></td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber12"> <tr> <td width="3%" background="images/contentside.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> <td width="91%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber14"> <tr> <td width="100%">Coming Soon..</td> </tr> </table> </td> <td width="6%" background="images/contentside.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> </tr> <tr> <td width="3%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="91%" background="images/contentbottomtop.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="6%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/affiliates.gif" width="150" height="33"></td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber12"> <tr> <td width="3%" background="images/contentside.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> <td width="91%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber15"> <tr> <td width="100%">Coming Soon</td> </tr> </table> </td> <td width="6%" background="images/contentside.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> </tr> <tr> <td width="3%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="91%" background="images/contentbottomtop.gif" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="6%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> <tr> <td width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000"> </td> </tr> <tr> <td width="100%"> </td> </tr> </table> </td> <td width="79%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="96%" id="AutoNumber16"> <tr> <td width="100%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber19"> <tr> <td width="100%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber20"> <tr> <td width="20%"> <img border="0" src="images/login.gif" width="201" height="35"></td> <td width="20%"> </td> <td width="20%"> <img border="0" src="images/updates.gif" width="201" height="35"></td> <td width="20%"> </td> <td width="20%"> <img border="0" src="images/statss.gif" width="201" height="35"></td> </tr> <tr> <td width="20%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber21"> <tr> <td width="4%" background="images/contentside.gif"> </td> <td width="93%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber24"> <tr> <td width="100%"><center><form action='http://visionstudios.be/forums/index.php' method='post'> <input type='hidden' name='act' value='Login' /> <input type='hidden' name='CODE' value='01' /> <input type='hidden' name='s' value='189c625b79d9835cedc37eba850aa527' /> <input type='hidden' name='referer' value='act=Login&CODE=01&CookieDate=1' /> <input type='hidden' name='CookieDate' value='1' /> <table> <tr> Username: <input type='text' size='20' maxlength='64' name='UserName' class='forminput' /> </tr> <tr> Password: <input type='password' size='20' name='PassWord' class='forminput' /> </tr> </table><input type='submit' name='submit' value='Log In' class='forminput' /></form></center> </td> </tr> </table> </td> <td width="3%" background="images/contentside.gif"> </td> </tr> <tr> <td width="4%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="93%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="3%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> <td width="20%"> </td> <td width="20%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber22"> <tr> <td width="4%" background="images/contentside.gif"> </td> <td width="93%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber25"> <tr> <td width="100%">Vision Studios v1.0 Launched!</td> </tr> </table> </td> <td width="3%" background="images/contentside.gif"> </td> </tr> <tr> <td width="4%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="93%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="3%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> <td width="20%"> </td> <td width="20%" valign="top"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber23"> <tr> <td width="3%" background="images/contentside.gif"> </td> <td width="95%"> <table border="0" cellpadding="2" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber26"> <tr> <td width="100%"><i>Site Stats</i><br><? include 'ndstats/stat_display.php' ?><br><i>Forum Stats</i><br><? include 'latest_members.php' ?><br><?php require_once "forum stats/ipbsdk_class.inc.php"; $SDK =& new IPBSDK(); $stats = $SDK->get_board_stats(); echo 'There are '.$stats['total_topics'].' topics.'; ?><br><?php echo 'There are '.$stats['total_replies'].' replies.'; ?><br><?php echo 'We have '.$stats['total_members'].' members.'; ?></td> </tr> </table> </td> <td width="2%" background="images/contentside.gif"> </td> </tr> <tr> <td width="3%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="95%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="2%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td width="100%"> </td> </tr> </table> </td> </tr> <tr> <td width="100%"> <img border="0" src="images/content.gif" width="652" height="35"></td> </tr> <tr> <td width="100%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber17"> <tr> <td width="1%" background="images/contentside.gif"> </td> <td width="98%"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber18"> <tr> <td width="100%"><?php // Load and Start IPB SDK require_once "forum stats/ipbsdk_class.inc.php"; $SDK =& new IPBSDK(); ?> <?php $SDK->create_account("foo", "bar", "foo@bar.com"); // Creates an account(Username: foo, Password: bar, E-Mail: foo@bar.com) if ($SDK->create_account($_POST['username'], $_POST['password'], $_POST['email'])) { echo 'Account Created Successfully!'; // Outputs if account was created successfully } $SDK->create_account("a", "b", "c"); // Returns FALSE as input is invalid ?> </td> </tr> </table> </td> <td width="1%" background="images/contentside.gif"> </td> </tr> <tr> <td width="1%"> <img border="0" src="images/leftcorner2.gif" width="8" height="8"></td> <td width="98%" background="images/contentbottomtop.gif"> <img border="0" src="images/contentbottomtop.gif" width="47" height="8"></td> <td width="1%"> <img border="0" src="images/rightcorner2.gif" width="8" height="8"></td> </tr> </table> </td> </tr> <tr> <td width="100%"> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td width="100%" height="19"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber9"> <tr> <td width="100%"> <img border="0" src="images/copyright.gif" width="824" height="12"></td> </tr> <tr> <td width="100%" background="images/copyrightbg.gif" height="53"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber27"> <tr> <td width="100%"> <p align="center">Copyright © 2006+ VisionStudios - Layout Created By Chris, Coded By Brady</td> </tr> <tr> <td width="100%"> <p align="center">Powered By VisionStudios CMS</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> <td width="13" background="images/right.gif"> <p align="left"> </td> </tr> </table></center> </body> </html> the code that is highlited is the code for the scrpit, anyone have any idea why it doesn't show up? thanks. -cnelson. ![]() |
![]() |

| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |

| Thread Tools | |
| |
| You Are Using: |
Advertisements do not imply our endorsement of that product or service. All times are GMT -4. The time now is 12:47 AM. Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved. Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd. Search Engine Optimization by vBSEO 3.1.0 | |




