If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Messages posted by: JTD
Forum Index » Profile for JTD » Messages posted by JTD
Author Message
Dang did I ever typo that last post LOL.
amber222 wrote:
JTD wrote:Ok how about HUGE PURPLE TYPE


JTD, Love it!

See what happens! You go offline for a few days and miss the party.

Wow, I had no idea I was going to start all this! That certainly wasn't my intention. BTW, I never said anything about being irritated. I just asked some questions. I guess I am not allowed to ask any questions.

This ought to really piss you off:

Tip: If your question is about your password, search for password.


HUGE PURPLE TYPE

Thanks Amber. Yea some people here just have really thin skins I guess.
Ok how about HUGE PURPLE TYPE
Is there really any need for the mispelling of words. bitchiong, longt, siomething
And if you dont understand basic computers. I suggest you subscribe to something like the http://www.techtv.com Newsletters and atleast get a basic grasp. 4 years ago I couldnt turn one on. Let alone do anything else with it. If you are to lazy to learn then maybe you should let your grandkids have the pc. And go back to your rocker on the front porch. BTW Im 45 and we didnt even have computers in school. And Im no php guru but I do ask carb questions and learn small bits from him and others. READ AND LEARN. And useing the search option is not hard. Plugin your question and 99.9% you will find your answer.
Open the files in notepad in your ftp very simple.
Well hopefully you have a host account somewhere and atleast 1 mysql database. If you dont have those then your out of luck.
Guess your out of luck.
sk8erdudejay wrote:yes but that still doesent help me, i dont get it at al plz if anyone can just tell me what to do


Ok that is an easy one. First learn to read simple instructions. Second then come back later and try again. Now if you want it set up for you. Then I will need some info and $50.00 US funds deposited into my paypal account.
Read the instruction files in the download or search the forums.
Yea it is simply amazing. As carb said we have visited alot of GB 2.2 Sites and told them about the exploits. I can probably go back and see that not even 25% of even bothered to update there guestbooks. And as far as visiting every forum for every app I use. As carb says that is alot of forums. Most times I get any and all information from these guys on nasty little hacks or virus's or exploits. http://forums.speedguide.net/index.php?

As to the why people cant figure out how to use the search feature! I have no clue. Maybe laziness. And as to the admin of this site who knows. Hopefully when carb either completely redoes the GB or makes his own version. People can just migrate to his forums for any information they need. Im amazed the admin here even bother to keep the site up since they dont seem to much care about any of the rest of it.
*BUMP*
You wont loose entries. Those are stored in your database. And read this. It is about the exploit in version 2.2 http://proxy2.de/forum/viewtopic.php?t=3650 also this might be helpfull. http://proxy2.de/forum/viewtopic.php?t=3563&highlight
First you need to do a search and figure out why useing guestbook version 2.2 is very bad. Then you need to update to version 2.3.1. Or replace the file then do all the above. Here is a fresh copy of the gb.class file.

<?php
/**
* ----------------------------------------------
* Advanced Guestbook 2.2 (PHP/MySQL)
* Copyright (c)2001 Chi Kien Uong
* URL: http://www.proxy2.de
* ----------------------------------------------
*/

class guestbook {

var $total;
var $db;
var $template;

function guestbook($path='') {
$this->db = new guestbook_vars($path);
$this->db->getVars();
$this->total = 0;
$this->template =& $this->db->template;
}

function get_nav($entry=0) {
global $HTTP_SERVER_VARS;
$self = basename($HTTP_SERVER_VARS['PHP_SELF']);
$next_page = $entry+$this->db->VARS['entries_per_page'];
$prev_page = $entry-$this->db->VARS['entries_per_page'];
$navigation = '';
if ($prev_page >= 0) {
$navigation = " <img src=\"img/back.gif\" width=\"16\" height=\"14\"><a href=\"$self?entry=$prev_page\">".$this->db->LANG["NavPrev"]."</a>\n";
}
if ($next_page < $this->total) {
$navigation = $navigation." &nbsp;&nbsp;<a href=\"$self?entry=$next_page\">".$this->db->LANG["NavNext"]."</a><img src=\"img/next.gif\" width=\"16\" height=\"14\">\n";
}
return $navigation;
}

function show_entries($entry=0) {
$LANG =& $this->db->LANG;
$VARS =& $this->db->VARS;
$this->db->fetch_array($this->db->query("select count(*) total from ".$this->db->table['data']));
$this->total = $this->db->record["total"];
$TPL = $this->get_entries($entry,$this->db->VARS["entries_per_page"]);
$TPL['GB_TOTAL'] = $this->total;
$TPL['GB_JUMPMENU'] = implode("\n",$this->generate_JumpMenu());
$TPL['GB_TIME'] = $this->db->DateFormat(time());
$TPL['GB_NAVIGATION'] = $this->get_nav($entry);
$TPL['GB_HTML_CODE'] = ($this->db->VARS["allow_html"] == 1) ? $this->db->LANG["BookMess2"] : $this->db->LANG["BookMess1"];
eval("\$guestbook_html = \"".$this->template->get_template($this->db->GB_TPL['header'])."\";");
eval("\$guestbook_html .= \"".$this->template->get_template($this->db->GB_TPL['body'])."\";");
eval("\$guestbook_html .= \"".$this->template->get_template($this->db->GB_TPL['footer'])."\";");
return $guestbook_html;
}

function generate_JumpMenu() {
$menu_array[] = "<select name=\"entry\" onChange=\"urlJump('self',this)\" class=\"select\">";
$menu_array[] = "<option value=\"http://marys-creature-comforts.ravenprom.org\" class=\"select\">Home Page</option>";
$menu_array[] = "<option value=\"http://ravenprom.org/gallery\" class=\"select\">Gallery</option>";
$menu_array[] = "<option value=\"http://ravenprom.org\" class=\"select\">Downloads Page</option>";
$menu_array[] = "<option value=\"0\" selected>".$this->db->LANG["FormSelect"]."</option>";
if ($this->db->VARS["entries_per_page"] < $this->total) {
$remain = $this->total % $this->db->VARS["entries_per_page"];
$i = $this->total-$remain;
while ($i > 0) {
$num_max = $i;
$num_min = $num_max-$this->db->VARS["entries_per_page"];
$num_min++;
$menu_array[] = "<option value=\"$remain\">$num_min-$num_max</option>";
$i = $num_min-1;
$remain += $this->db->VARS["entries_per_page"];
}
}
$menu_array[] = "</select>";
$menu_array[] = "<input type=\"submit\" value=\"".$this->db->LANG["FormButton"]."\" class=\"input\">";
return $menu_array;
}

function get_entries($entry,$last_entry) {
$LANG =& $this->db->LANG;
$id = $this->total-$entry;
$HOST = '';
$COMMENT = '';
$GB_ENTRIES = '';
$i=0;
$template['entry'] = $this->template->get_template($this->db->GB_TPL['entry']);
$template['com'] = $this->template->get_template($this->db->GB_TPL['com']);
$template['url'] = $this->template->get_template($this->db->GB_TPL['url']);
$template['icq'] = $this->template->get_template($this->db->GB_TPL['icq']);
$template['aim'] = $this->template->get_template($this->db->GB_TPL['aim']);
$template['email'] = $this->template->get_template($this->db->GB_TPL['email']);
$result = $this->db->query("select * from ".$this->db->table['data']." order by id desc limit $entry, $last_entry");
while ($row = $this->db->fetch_array($result)) {
$DATE = $this->db->DateFormat($row['date']);
$MESSAGE = nl2br($row['comment']);
if ($this->db->VARS["smilies"] == 1) {
$MESSAGE = $this->db->emotion($MESSAGE);
}
if (!$row['location']) {
$row['location'] = "-";
}
$bgcolor = ($i % 2) ? $this->db->VARS["tb_color_2"] : $this->db->VARS["tb_color_1"];
$i++;
if ($row['url']) {
eval("\$URL = \"".$template['url']."\";");
} else {
$URL = '';
}
if ($row['icq'] && $this->db->VARS["allow_icq"]==1) {
eval("\$ICQ = \"".$template['icq']."\";");
} else {
$ICQ = '';
}
if ($row['aim'] && $this->db->VARS["allow_aim"]==1) {
eval("\$AIM = \"".$template['aim']."\";");
} else {
$AIM = '';
}
if ($row['email']) {
eval("\$EMAIL = \"".$template['email']."\";");
} else {
$EMAIL = '';
}
if ($this->db->VARS["allow_gender"]==1) {
$GENDER = ($row['gender']=="f") ? "&nbsp;<img src=\"img/female.gif\" width=\"12\" height=\"12\">" : "&nbsp;<img src=\"img/male.gif\" width=\"12\" height=\"12\">";
}
if ($this->db->VARS["show_ip"] == 1) {
$hostname = ( eregi("^[-a-z_]+", $row['host']) ) ? "Host" : "IP";
$HOST = "$hostname: $row[host]\n";
}
$this->db->query("select * from ".$this->db->table['com']." where id='$row[id]' order by com_id asc");
while ($com = $this->db->fetch_array($this->db->result)) {
$com['comments'] = nl2br($com['comments']);
eval("\$COMMENT .= \"".$template['com']."\";");
}
eval("\$GB_ENTRIES .= \"".$template['entry']."\";");
$COMMENT = "";
$id--;
}
$TPL['GB_ENTRIES'] = $GB_ENTRIES;
return $TPL;
}

}

?>
Your welcome.
 
Forum Index » Profile for JTD » Messages posted by JTD
Go to:   
Based on the open source JForum