Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Please Help me, i'm dumb Details »»
Please Help me, i'm dumb
Version: , by The_Cyberdemon The_Cyberdemon is offline
Developer Last Online: Feb 2006 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-12-2003 Last Update: Never Installs: 0
 
No support by the author.

I'll post all of my problems in here since i have so many.
I'm linking this off to someone on irc.

___


PHP Code:
<body background="http://www.blindedstorms.com/palm-tree.jpg">
<?php
error_reporting
(7);

require(
"./global.php");



if(!
$where) {
$where='start';
}

$action="start";
$thisurl $PHP_SELF;
// ############################### start ###############################
if ($where=="start" OR $HTTP_GET_VARS['where']=="start") {
echo (
'<table width="100%" align="center"><tr><td><table width="100%" background="http://www.blindedstorms.com/bar.gif"><td align="center"><font size="4">Welcome to the Clan Hack Installer!</font></td></table><table width="100%"><tr>
<td align="center">Please click "NEXT" to begin!<br>If you would like the rank hack uninstalled (*sigh*), click "KILL EM"</td></tr></table></td></tr></table>'
);
$action="install";
echo (
"<table width=\"100%\"><tr><td align=\"center\"><a href='$thisurl?s=$session[sessionhash]&where=install' style=\"color: purple;\">NEXT -></a><br><a href='$thisurl?s=$session[sessionhash]&where=mekill' style=\"color: purple;\">KILL EM</a></td></tr></table>");
}
// ############################### install ###############################
if ($HTTP_GET_VARS['where']=="install") {
echo (
'<table width="100%" align="center"><tr><td><table width="100%" background="http://www.blindedstorms.com/bar.gif"><td align="center"><font size="4">Are You Sure?</font></td></table><table width="100%"><tr>
<td align="center">If you click yes, the table "clan" will be added with 4 columns. Is this what you want?</td></tr></table></td></tr></table>'
);
$action="install";
echo (
"<table width=\"100%\"><tr><td align=\"center\"><a href='$thisurl?s=$session[sessionhash]&where=clandb' style=\"color: purple;\">OH YEAH</a>   <a href='$thisurl?s=$session[sessionhash]&where=start' style=\"color: purple;\">NO WAY!</a></td></tr></table>");
}
// ############################### install clandb###############################
if ($HTTP_GET_VARS['where']=="clandb") {
echo (
'<table width="100%" align="center"><tr><td><table width="100%" background="http://www.blindedstorms.com/bar.gif"><td align="center"><font size="4">Table Added</font></td></table><table width="100%"><tr>
<td align="center">Added stuff</td></tr></table></td></tr></table>'
);
$DB_site->query("CREATE TABLE clan (
   clanid smallint(5) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
   title varchar(50) NOT NULL,
   pass varchar(50) NOT NULL,
   leader varchar(50) NOT NULL,
)"
);
echo (
"<table width=\"100%\"><tr><td align=\"center\">The following tables where added:<ul>
    <li>clan
</ul><br>The following columns were added:<ul>
    <li>clanid
        <li>title
        <li>pass
        <li>leader
</ul><br></td></tr></table>"
);
echo (
"<table width=\"100%\"><tr><td align=\"center\"><a href='$thisurl?s=$session[sessionhash]&where=installuser' style=\"color: purple;\">NEXT -></a></td></tr></table>");
}
// ############################### kill clandb###############################
if ($HTTP_GET_VARS['where']=="mekill") {
echo (
'<table width="100%" align="center"><tr><td><table width="100%" background="http://www.blindedstorms.com/bar.gif"><td align="center"><font size="4">Are You Sure?</font></td></table><table width="100%"><tr>
<td align="center">If you click yes, the clan table WILL BE DELETED! Are you sure you want to do this?</td></tr></table></td></tr></table>'
);
echo (
"<table width=\"100%\"><tr><td align=\"center\"><a href='$thisurl?s=$session[sessionhash]&where=delete' style=\"color: purple;\">YES</a>   <a href='$thisurl?s=$session[sessionhash]&where=start' style=\"color: purple;\">NO WAY!</a></td></tr></table>");
}
// ############################### delete now ###############################
if ($HTTP_GET_VARS['where']=="delete") {
echo (
'<table width="100%" align="center"><tr><td><table width="100%" background="http://www.blindedstorms.com/bar.gif"><td align="center"><font size="4">DONE</font></td></table><table width="100%"><tr>
<td align="center">The table "CLAN" has been deleted!</td></tr></table></td></tr></table>'
);
echo (
"<table width=\"100%\"><tr><td align=\"center\"><a href='$thisurl?s=$session[sessionhash]&where=delete' style=\"color: purple;\">YES</a>   <a href='$thisurl?s=$session[sessionhash]&where=start' style=\"color: purple;\">NO WAY!</a></td></tr></table>");
$DB_site->query("DROP TABLE IF EXISTS clan");
}
// ############################### install users ###############################
if ($HTTP_GET_VARS['where']=="installuser") {
echo (
'<table width="100%" align="center"><tr><td><table width="100%" background="http://www.blindedstorms.com/bar.gif"><td align="center"><font size="4">User Install</font></td></table><table width="100%"><tr>
<td align="center">If you click yes, the column "clan" will be added to your "user" table. Is this what you want?</td></tr></table></td></tr></table>'
);
echo (
"<table width=\"100%\"><tr><td align=\"center\"><a href='$thisurl?s=$session[sessionhash]&where=doinstalluser' style=\"color: purple;\">OH YEAH</a>   <a href='$thisurl?s=$session[sessionhash]&where=start' style=\"color: purple;\">NO WAY!</a></td></tr></table>");
}
// ############################### do install user###############################
if ($HTTP_GET_VARS['where']=="doinstalluser") {
echo (
'<table width="100%" align="center"><tr><td><table width="100%" background="http://www.blindedstorms.com/bar.gif"><td align="center"><font size="4">Column Added</font></td></table><table width="100%"><tr>
<td align="center">Added stuff</td></tr></table></td></tr></table>'
);
$DB_site->query("ALTER TABLE user ADD clan SMALLINT(5) DEFAULT '1' NOT NULL");
echo (
"<table width=\"100%\"><tr><td align=\"center\">The following tables where edited:<ul>
    <li>user
</ul><br>The following columns were added:<ul>
    <li>clan
</ul><br></td></tr></table>"
);
echo (
"<table width=\"100%\"><tr><td align=\"center\"><a href='$thisurl?s=$session[sessionhash]&where=installuser' style=\"color: purple;\">NEXT -></a></td></tr></table>");
}
// ############################### install users ###############################
if ($HTTP_GET_VARS['where']=="testing") {
echo (
'<table width="100%" align="center"><tr><td><table width="100%" background="http://www.blindedstorms.com/bar.gif"><td align="center"><font size="4">User Install</font></td></table><table width="100%"><tr>
<td align="center">If you click yes, the column "clan" will be added to your "user" table. Is this what you want?</td></tr></table></td></tr></table>'
);
echo (
"<table width=\"100%\"><tr><td align=\"center\"><a href='$thisurl?s=$session[sessionhash]&where=doinstalluser' style=\"color: purple;\">OH YEAH</a>   <a href='$thisurl?s=$session[sessionhash]&where=start' style=\"color: purple;\">NO WAY!</a></td></tr></table>");
echo (
"<tr>
    <td bgcolor="
#13486D"><normalfont><b>Style Set:</b><br>
    
<smallfont>You may pick a style set to browse with that may or may not override the default settings.</smallfont></normalfont></td>
    <
td bgcolor="#13486D"><smallfont>
        <
select name="newstyleset">");
$templatefetch=$DB_site->query("SELECT FROM templateset ORDERY BY title");
while (
$template=$DB_site->fetch_array($templatefetch)) {
echo ("
<option value="$template[templatesetid]"$template[title] </option>");
}        
echo ("        
</select>
    </
smallfont></td>
</
tr>");
}
?>

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03315 seconds
  • Memory Usage 2,242KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete