Jump to content

TCH-Don

Members
  • Posts

    11,643
  • Joined

  • Last visited

Everything posted by TCH-Don

  1. Why don't you change the include($todaysFile[$x]); to echo($todaysFile[$x]); to see what the variable really is.
  2. Funny
  3. way
  4. Cards
  5. Welcome the forum, Just-Ted
  6. Soap
  7. Tom I split this from the original topic. And thanks for the link.
  8. Pal (any dog: )
  9. Welcome to the forums, johny_gjx
  10. Yes MySql is part of the xampp install. I used the lite version for the usb drive.
  11. Electronic
  12. First thing I would do is make a cpanel > backup of the database, in case you have to re-install.
  13. Looks good. Glad to help
  14. My fault, bad coding on my part You have two move the align="center" up into the top
  15. The problem is ><br /> <br /> <span style="font-family: Georgia, sans-serif; font-size: xx-large;">', $context['forum_name'], '</span>'; Try removing it and just use ><table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="position: relative;"> <tr> <td colspan="2" valign="bottom" style="padding: 5px; white-space: nowrap;"> <td align="center" > <a href="http://marveassistans.se"> <img src="http://marveassistans.se/smflogo.gif" /> </a> </td> I added a link to home page on the logo.
  16. If the second script does not output the word 'test' then I have to ask: did you upload the file as text? does it have the extension of .php? what text editor are you using? Did you save it some where in or below your public_html folder? I know you probably did all this, but we have to start some where.
  17. Facts
  18. Moment
  19. TCH-Don

    Php Problem

    Kaz, another way to code this is to use HEREDOC to print preserving spaces and mixing html and both quotes and even php variables. follow the echo or print tag with <<< and then a delimiter like HEREDOC using ><?php if ($bbuserinfo['userid']!=0) { $username=$bbuserinfo['username']; print <<< HERDOC <table border='0' cellpadding='0' cellspacing='0' width='100%' > <tr> <td width='100%'><a href='forum/private.php?'>Private Messages</a> | <a href='forum/forumdisplay.php?f=128'>Forum Announcements</a> | <a href='forum/search.php?do=getnew'>New Posts</a> | <a href='forum/login.php?do=logout'>Logout</a></td> </tr> <tr> <td width='100%'><align='center'><span class='sectionheader'>Welcome back, $username!<br></td> </tr> </table> HERDOC; } else { print <<< HEREDOC <table border='0' cellpadding='0' cellspacing='0' width='100%' > <tr> <td width='100%'><a href='forum/private.php?'>Private Messages</a> | <a href='forum/forumdisplay.php?f=128'>Forum Announcements</a> | <a href='forum/search.php?do=getnew'>New Posts</a> | <a href='forum/login.php?do=logout'>Logout</a></td> </tr> <tr> <td width='100%'>Please login or click here to <a href='forum/register.php?'>register</a> for free <form action='/forum/login.php' method='post' onsubmit='md5hash(vb_login_password,vb_login_md5password)'> <script type='text/javascript' src='/forum/clientscript/vbulletin_md5.js'></script> <span class='sectionheader'>Username:</span> <input type='text' class='button' name='vb_login_username' id='navbar_username' size='15' accesskey='u' tabindex='1' value='' onfocus='if (this.value == 'username') this.value = '';' /><br> <span class='sectionheader'>Password: </span> <input type='password' class='button' name='vb_login_password' size='15' accesskey='p' tabindex='2' /><br> <input type='checkbox' name='cookieuser' value='1' tabindex='3' id='cb_cookieuser_navbar' accesskey='c' checked='checked' /><span class='sectionheader'>Remember Me</span><br> <input name='submit' type='submit' class='button' accesskey='s' tabindex='4' title='Log In' value='Log In' /> <input type='hidden' name='do' value='login' /> <input type='hidden' name='forceredirect' value='1' /> <input type='hidden' name='vb_login_md5password' /> </form> </span> </td> </tr> </table> HEREDOC; } ?>
  20. Yes they all did a great job
  21. Never had a problem with Irfranviw on 98 and XP It is my default image vierw also. It keeps getting better with each version.
  22. Welcome to the forum Mr Ugly
  23. If you go into Themes > Default and find index.template.php in that file look for the body tag just below is the table cell that displays first. thats the area the change. Assuming you are using the default theme.
  24. Welcome to the family, MikkiV Let us know if you need any help.
×
×
  • Create New...