Page 1 of 1

Test poll for toothpicks

Posted: Sat Jan 17, 2009 4:14 pm
by battye
Test poll

Re: Test poll for toothpicks

Posted: Tue Jan 20, 2009 9:29 pm
by threewing
I voted 3wing, since this is a test, after all.

By the way, it's awefully quiet here on the forum :cry: ... What happened when I was gone for a while? Where everybody at, peeps? :?
LOL, this smiley looks like my avatar!!!

Re: Test poll for toothpicks

Posted: Tue Jan 20, 2009 10:02 pm
by garmabeaneth
yes, that smiley does look like your avatar!

Re: Test poll for toothpicks

Posted: Sun Jan 25, 2009 3:35 pm
by battye
Image for article.

Re: Test poll for toothpicks

Posted: Thu Feb 12, 2009 2:55 pm
by battye

Code: Select all

<?php
// Start session management
define("IN_PAGE",TRUE);
define('IN_PHPBB', true);
define('IN_PHPBB', true);
$phpbb_root_path = 'forum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('viewtopic');
?>
<html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=windows-1250">
    <meta name="generator" content="PSPad editor, www.pspad.com">
    <title>Das Coding-Portal</title>
    <link rel="stylesheet" type="text/css" href="style.css">
  </head>
  <body>
    <div id="warp">
      <div id="header">
      	<div id="login">
        <?php
$session == $user->data["session_id"];


    if($user->data['is_registered'] && !$user->data['is_bot'] && $user->data['user_id'] != ANONYMOUS)
    {
	
	echo '<table><tr>';
				   if ($user->data['user_avatar'])
				   {
                echo '<td><img src="http://m0nst3rkill3r.de/area51/forum/download/file.php?avatar=' . $user->data['user_avatar'] . '"></td>';
				   }
				   else
				   {
				  echo "<td><img src=\"images/no-avatar.gif\" align=\"left\"></td>";
				   }
                   echo "<td>"; 
				   echo 'Hallo ' . $user->data['username'];
		if (!$auth->acl_get('a_'))	
{		   

                   echo "<br />Hallo &nbsp;"; 
				   echo $user->data['username'];
				   echo "<br />";
				   echo "<br /><a href=\"forum/index.php\">Board</a><br />";
				   echo '<a href="forum/memberlist.php?mode=viewprofile&u=' . $user->data['user_id'] . '">Profil</a><br />';
				   echo '<a href="forum/ucp.php?mode=logout&sid=' . $user->data['session_id'] .'&redirect=http://localhost:800/area51/">Logout</a></td>';
}
else
{
				   echo "<br /><a href=\"forum/index.php\">Board</a><br />";
				   echo '<a href="forum/memberlist.php?mode=viewprofile&u=' . $user->data['user_id'] . '">Profil</a><br />';
echo '<a href="forum/adm/index.php?sid=' . $user->data['session_id'] . '&redirect=http://localhost:800/area51/">Admin</a><br />';
echo '<a href="forum/ucp.php?mode=logout&sid=' . $user->data['session_id'] . '&redirect=http://localhost:800/area51/">Logout</a>';

		}
				   echo "</td></tr></table>";
    }
    else
    {
    echo"

<form action=\"forum/ucp.php?mode=login\" method=\"post\"><p>
	    <fieldset>
        <img src=\"images/head-16.png\"><label for=\"username\">Nickname:</label>
        <input type=\"text\" name=\"username\" id=\"username\" size=\"10\" title=\"Username\" /><br />
       <img src=\"images/lock-16.png\"><label for=\"password\">Passwort:</label>&nbsp;
        <input type=\"password\" name=\"password\" id=\"password\" size=\"10\" title=\"Password\" /><br />
		<input name=\"redirect\" value=\"http://localhost:800/area51/\" type=\"hidden\">
        <input type=\"submit\" name=\"login\" value=\"Login\" />
    </fieldset>

</form>
<a href=\"http://localhost:800/area51/forum/ucp.php?mode=register\"><font color=\"#000000\">Registrieren</font></a>
";

    }
	?>
      	</div>
      </div>
    </div>
  </body>
</html>