Exécutez SQL et tout ce que d'autres choses.

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • Avatar de l’utilisateur
  • Inscription: Mai 28, 2003
  • Messages: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Message Février 22nd, 2004, 6:57 pm

* lol - pas de navigation option? Are you kidding? Man quelle version de phpMyAdmin sont-ils utiliser? * Désolé - OK - vous me faire entrer en elle. Envoyez-moi le lien et l'accès matériel à l'adresse e-mail. Maintenant Im ne le fais pas juste pour vous aider - Im diable curieux de voir ce type de configuration dont ils disposent. Si elles ont un foutu mauvais version que vous sachiez. Sinon, mauvais vous dire comment le faire mais ils lui ont mis en place.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • Anonymous
  • Bot
  • No Avatar
  • Inscription: 25 Feb 2008
  • Messages: ?
  • Loc: Ozzuland
  • Status: Online

Message Février 22nd, 2004, 6:57 pm

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • Avatar de l’utilisateur
  • Inscription: Mai 28, 2003
  • Messages: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Message Février 22nd, 2004, 7:00 pm

Désolé - je ne veux pas que vous pensiez Im rire de vous. Je veux juste voir ça. phpMyAdmin est le plus facile mySQL admin outil qui soit. Im juste curieux de voir ce que le diable qu'ils font. Il ne devrait pas être difficile pour vous.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • Avatar de l’utilisateur
  • Inscription: Mai 28, 2003
  • Messages: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Message Février 22nd, 2004, 7:42 pm

Intéressant. Je obtenir les mêmes erreurs que vous faire un copier-coller .. Et ce n'est certainement pas phpMyAdmin - au moins pas de toute façon Ive jamais vu. Permettez-moi de prendre une capture d'écran et d'après le lien que les autres puissent le voir dans certains cas, mai se familiariser avec elle. Théoriquement, votre fichier texte devrait fonctionner comme il est.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • Avatar de l’utilisateur
  • Inscription: Mai 28, 2003
  • Messages: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Message Février 22nd, 2004, 7:51 pm

Voici la capture d'écran de ce qu'il voit et ce que j'ai trop de texte lors de l'exécution d'une requête (c & p)

http://atnopro.com/ozzu/screencap.jpg

Je n'ai pas vu cette configuration pour le moment. Vraiment étrange. J'ai utilisé le même fichier et les tableaux mis en place sur ma db en moins d'une seconde sur la requête avec phpMyAdmin. Maintenant je dois penser à celle-ci également.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • nunyaB
  • Newbie
  • Newbie
  • No Avatar
  • Inscription: Fév 22, 2004
  • Messages: 12
  • Status: Offline

Message Février 22nd, 2004, 8:09 pm

Hmmm, intéressant!


Eh bien, je mai à accueillir le changement ensuite, parce que j'ai sérieusement besoin de ce script.


Bummer pour moi.
  • nunyaB
  • Newbie
  • Newbie
  • No Avatar
  • Inscription: Fév 22, 2004
  • Messages: 12
  • Status: Offline

Message Février 22nd, 2004, 8:10 pm

Peut-être une ancienne version....?
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • Avatar de l’utilisateur
  • Inscription: Mai 28, 2003
  • Messages: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Message Février 22nd, 2004, 8:14 pm

Le fichier texte SQL n'est pas aussi grand que je m'y attendais. Je ne vois rien de mal avec elle. Je obtenir exactement les mêmes erreurs nunyaB fait avec cet hôte, mais il l'avait exécutée en 1 seconde comme prévu sur la mienne. Heres the dump:

Code: [ Select ]
# Database : `irater`
# --------------------------------------------------------

#
# Table structure for table `admin`
#

drop table if exists admin;
drop table if exists comments;
drop table if exists pms;
drop table if exists std_notify;
drop table if exists ratings;
drop table if exists sessions;
drop table if exists settings;
drop table if exists templates;
drop table if exists users;
drop table if exists image_types;
drop table if exists usersTemp;

CREATE TABLE admin (
 id tinyint(4) NOT NULL auto_increment,
 username char(16) NOT NULL default '',
 password char(32) NOT NULL default '',
 PRIMARY KEY (id)
) TYPE=MyISAM;

#
# Dumping data for table `admin`
#

INSERT INTO admin VALUES (1, 'admin', 'password');
# --------------------------------------------------------

#
# Table structure for table `comments`
#

CREATE TABLE comments (
 id int(7) unsigned NOT NULL auto_increment,
 user_id smallint(5) unsigned NOT NULL default '0',
 comment text NOT NULL,
 author_id smallint(5) NOT NULL default '0',
 author_ip varchar(15) NOT NULL default '',
 status varchar(16) NOT NULL default 'waiting',
 timestamp timestamp(14) NOT NULL,
 PRIMARY KEY (id),
 KEY timestamp (timestamp),
 KEY user_id (user_id)
) TYPE=MyISAM;

#
# Dumping data for table `comments`
#

#
# Table structure for table `image_types`
#

CREATE TABLE image_types (
 id tinyint(3) unsigned NOT NULL auto_increment,
 ext char(4) NOT NULL default '',
 PRIMARY KEY (id)
) TYPE=MyISAM;

#
# Dumping data for table `image_types`
#

INSERT INTO image_types VALUES (1, 'bmp');
INSERT INTO image_types VALUES (2, 'gif');
INSERT INTO image_types VALUES (3, 'jpg');
INSERT INTO image_types VALUES (4, 'jpeg');
INSERT INTO image_types VALUES (5, 'png');
# --------------------------------------------------------

#
# Table structure for table `pms`
#

CREATE TABLE pms (
 id int(7) unsigned NOT NULL auto_increment,
 user_id smallint(5) unsigned NOT NULL default '0',
 subject varchar(50) NOT NULL default '',
 message text NOT NULL,
 author_id smallint(5) NOT NULL default '0',
 author_ip varchar(15) NOT NULL default '',
 pm_status varchar(16) NOT NULL default 'unread',
 timestamp timestamp(14) NOT NULL,
 PRIMARY KEY (id),
 KEY timestamp (timestamp),
 KEY user_id (user_id)
) TYPE=MyISAM;

#
# Dumping data for table `pms`
#

#
# Table structure for table `ratings`
#

CREATE TABLE ratings (
 id int(7) unsigned NOT NULL auto_increment,
 user_id smallint(5) unsigned NOT NULL default '0',
 rating tinyint(1) unsigned NOT NULL default '0',
 rater_id smallint(5) NOT NULL default '0',
 rater_ip char(15) NOT NULL default '',
 timestamp timestamp(14) NOT NULL,
 PRIMARY KEY (id),
 KEY timestamp (timestamp),
 KEY user_id (user_id)
) TYPE=MyISAM;

#
# Dumping data for table `ratings`
#

#
# Table structure for table `sessions`
#

CREATE TABLE sessions (
 id varchar(32) NOT NULL default '',
 data text NOT NULL,
 expire int(11) unsigned NOT NULL default '0',
 PRIMARY KEY (id)
) TYPE=MyISAM;

#
# Dumping data for table `sessions`
#

#
# Table structure for table `settings`
#

CREATE TABLE settings (
 orderby tinyint(3) unsigned NOT NULL default '0',
 name varchar(24) NOT NULL default '',
 setting varchar(255) NOT NULL default '',
 descr varchar(255) NOT NULL default '',
 PRIMARY KEY (name)
) TYPE=MyISAM;

#
# Dumping data for table `settings`
#

INSERT INTO settings VALUES (105, 'max_image_size', '102400', 'This is the maximum size an image file can be, this applies to locally stored images only.');
INSERT INTO settings VALUES (160, 'np', '3', 'The number of navigation links you want dispayed on each side of the current member page. 3 or 4 is probably best.');
INSERT INTO settings VALUES (80, 'table_border_color', 'yellow', 'This affects the outer table border. See include/tables.php for more info.');
INSERT INTO settings VALUES (65, 'table_title_color', 'black', 'This affects the table title bar background color. See include/tables.php for more info.');
INSERT INTO settings VALUES (75, 'table_content_color', 'white', 'This affects the color of the table body. See include/tables.php for more info.');
INSERT INTO settings VALUES (85, 'page_bg_color', '#ffffff', 'Overall page background color.');
INSERT INTO settings VALUES (50, 'title_img', 'images/logo.jpg', 'This is the relative path to the main title image that appears on the main page.');
INSERT INTO settings VALUES (55, 'tb_header_img', 'images/bar.gif', 'This is the image used for the table header background. See also \'table_title_color\'.');
INSERT INTO settings VALUES (15, 'base_font', 'Tahoma, Verdana, sans-serif', 'General font face.');
INSERT INTO settings VALUES (20, 'base_font_size', '13', 'General font size in pixels, 11-15 is probably best.');
INSERT INTO settings VALUES (25, 'base_font_color', 'black', 'General site font color.');
INSERT INTO settings VALUES (30, 'base_link_color', 'black', 'General link color.');
INSERT INTO settings VALUES (35, 'hover_link_color', 'yellow', 'Hover link color.');
INSERT INTO settings VALUES (40, 'hover_link_bg_color', '#333366', 'Hover link background color.');
INSERT INTO settings VALUES (70, 'table_title_text_color', '#333366', 'This is the font color for the table headers.');
INSERT INTO settings VALUES (45, 'error_font_color', 'red', 'General error font color.');
INSERT INTO settings VALUES (10, 'site_title', 'irater', 'The name of your irater based site.');
INSERT INTO settings VALUES (165, 'speed_rate', '1', 'If set to yes, this adds a 2 second <meta> refresh to the rating thank you page. You probably want this.');
INSERT INTO settings VALUES (150, 'girl_count', '10', 'How many girls to list in the mini-list.');
INSERT INTO settings VALUES (155, 'guy_count', '10', 'How many guys to list in the mini-list.');
INSERT INTO settings VALUES (135, 'show_site_stats', '1', 'If set to yes, this causes the site stats to be shown. You probably want this. Site stats can be further customized by editing the proper template.');
INSERT INTO settings VALUES (140, 'girl_t', '1', 'If set to yes, this causes the girl\'s mini-list to be displayed.');
INSERT INTO settings VALUES (145, 'guy_t', '1', 'If set to yes, this causes the guy\'s mini-list to be displayed.');
INSERT INTO settings VALUES (60, 'table_file', 'tables.gray.php', 'What table theme you want to use.');
INSERT INTO settings VALUES (90, 'left_col_width', '156', 'This is the width of the left column in pixels.');
INSERT INTO settings VALUES (95, 'right_col_width', '156', 'This is the width of the right column in pixels.');
INSERT INTO settings VALUES (100, 'main_col_width', '658', 'This is the width of the main column in pixels.');
INSERT INTO settings VALUES (120, 'allow_local_image', '1', 'This setting controls whether or not you allow users to store their images locally on your server.');
INSERT INTO settings VALUES (125, 'allow_remote_image', '1', 'This setting controls whether or not you allow users to store their images on their own remote server.');
INSERT INTO settings VALUES (170, 'max_un_length', '14', 'This setting is for chopping the username\'s length down so it doesn\'t overrun the table width in the mini toplists at the top-right.');
INSERT INTO settings VALUES (130, 'comments_per_page', '10', 'This setting is for setting a maximum number of comments per page on your view comments page.');
INSERT INTO settings VALUES (110, 'max_image_width', '640', 'This is the maximum width an image file can be, this applies to locally stored images only.');
INSERT INTO settings VALUES (115, 'max_image_height', '640', 'This is the maximum height an image file can be, this applies to locally stored images only.');
INSERT INTO settings VALUES (180, 'is_free', 'yes', 'change this to "no" if you want to charge a subscription fee to your site. You will have to change the values in the /includes/signup.php file to your paypal account');
# --------------------------------------------------------

#
# Table structure for table `std_notify`
#

CREATE TABLE std_notify (
 ipn_id int(10) NOT NULL auto_increment,
 receiver_email varchar(75) NOT NULL default '',
 business varchar(75) NOT NULL default '',
 item_name varchar(127) default NULL,
 item_number varchar(127) default NULL,
 quantity int(10) default NULL,
 invoice varchar(64) default NULL,
 custom varchar(64) default NULL,
 option_name1 varchar(127) default NULL,
 option_selection1 varchar(127) default NULL,
 option_name2 varchar(127) default NULL,
 option_selection2 varchar(127) default NULL,
 num_cart_items int(10) default NULL,
 payment_status enum('Completed','Pending','Failed','Denied','Reversed') default NULL,
 pending_reason enum('echeck','intl','verify','address','upgrade','unilateral','other') default NULL,
 payment_date varchar(55) default NULL,
 settle_amount decimal(9,2) default NULL,
 settle_currency enum('USD','CAD','GBP','EUR','JPY') default NULL,
 exchange_rate varchar(15) default NULL,
 payment_gross decimal(9,2) default NULL,
 payment_fee decimal(9,2) default NULL,
 mc_gross decimal(9,2) default NULL,
 mc_fee decimal(9,2) default NULL,
 mc_currency enum('USD','CAD','GBP','EUR','JPY') default NULL,
 tax decimal(9,2) default NULL,
 txn_id varchar(50) default NULL,
 txn_type enum('web_accept','cart','send_money') default NULL,
 memo tinytext,
 first_name varchar(32) default NULL,
 last_name varchar(32) default NULL,
 address_street varchar(64) default NULL,
 address_city varchar(32) default NULL,
 address_state varchar(32) default NULL,
 address_zip varchar(25) default NULL,
 address_country varchar(32) default NULL,
 address_status enum('confirmed','unconfirmed') default NULL,
 payer_email varchar(75) default NULL,
 payer_id varchar(60) default NULL,
 payer_status enum('verified','unverified','intl_verified','intl_unverified') default NULL,
 payment_type enum('echeck','instant') default NULL,
 notify_version varchar(10) default NULL,
 verify_sign varchar(128) default NULL,
 status enum('VERIFIED','INVALID') default NULL,
 signed enum('SIGNEDUP','FREE') default NULL,
 user_ID int(10) default '0',
 PRIMARY KEY (ipn_id)
) TYPE=MyISAM;

#
# Dumping data for table `std_notify`
#

#
# Table structure for table `templates`
#

CREATE TABLE templates (
 id tinyint(4) unsigned NOT NULL auto_increment,
 name varchar(16) NOT NULL default '',
 template text NOT NULL,
 PRIMARY KEY (id),
 UNIQUE KEY name (name)
) TYPE=MyISAM;

#
# Dumping data for table `templates`
#

INSERT INTO templates VALUES (1, 'main_text', '<table border="0" cellpadding="5" cellspacing="0" width="100%">\r\n<tr>\r\n<td width="100%" class="regular"><img src="$base_url/$title_img" border="0" alt="$title" title="$title" /></td>\r\n</tr>\r\n<tr>\r\n<td width="100%" class="regular">Welcome to <a href="$base_url/index.php?$sn=$sid">$site_title</a>.  Here you can upload your picture and have others view it and rate it.  It\'s a great way to meet new people too.  Not only can you rate other member\'s pictures, you can also leave private messages and comments too!  Best of all, membership is totally Free!  <a href="$base_url/index.php?$sn=$sid&show=signup">Signup now</a> and join the fun!\r\n</td>\r\n</tr>\r\n<tr>\r\n<td width="100%" class="regular"><span class="bold">How it works:</span> You <a href="$base_url/index.php?$sn=$sid&show=signup">signup</a> and become a member. Once signed up you can upload your image. You may also link to your image if you already have it on!
another server. Once your image is approved by us, it will begin to appear on the site. Visitors will view your image and rate it depending on their own personal opinion. Visitors may also leave public comments about you, and some may even decide to leave you a private message.</td>\r\n</tr>\r\n<tr>\r\n<td width="100%" class="regular"><span class="bold">Rules:</span> No porn allowed! This means no "naked pictures" allowed. All images are approved by us before being shown on the site. If you upload porn we will delete it. If you link to porn we will delete it. This is an "all ages" site so keep it clean! To keep the site as fast as possible, all images must be smaller than $max_image_size bytes in filesize.<br /><br /><a href="$base_url/index.php?$sn=$sid&show=signup"><b>CLICK HERE TO SIGNUP NOW!</b></a><br><br></td>\r\n</tr>\r\n<tr>\r\n<td width="100%" class="regular"></td>\r\n</tr>\r\n<tr>\r\n<td width="100%" class="smallregular" align="right">Designed for 1024x76!
8 resolution, 24bit color or better</td>\r\n</tr>\r\n</table>');
INSERT INTO templates VALUES (2, 'image_rules', '<ul>\r\n<li class="regular">No porn allowed! This means no "naked pictures". All images are approved by us before being shown on the site. If you upload or link to porn we will delete it.</li>\r\n<li class="regular">To keep the site as fast as possible, all images must be smaller than $max_image_size bytes in filesize.</li>\r\n<li class="regular">Both new image uploads and new image URLs cause image statistics to be reset. Make sure you are ready to start over if you decide to update an already highly rated image. We can not recover accidentally overwritten images.</li>\r\n</ul>');
INSERT INTO templates VALUES (3, 'site_stats', '<table cellpadding="0" cellspacing="0" border="0" width="100%">\n<tr bgcolor="#eeeeee">\n    <td class="smallregular" nowrap="nowrap">Total Points:</td>\n    <td align="right" class="smallregular">$pts_total_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Points Today:</td>\n    <td align="right" class="smallregular">$pts_pd_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Points this Week:</td>\n    <td align="right" class="smallregular">$pts_pw_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Points this Month:</td>\n    <td align="right" class="smallregular">$pts_pm_count</td>\n</tr>\n<tr bgcolor="#eeeeee">\n    <td class="smallregular" nowrap="nowrap">Total Ratings:</td>\n    <td align="right" class="smallregular">$ra_total_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Ratings Today:</td>\n    <td align="right" class="smallregular">$ra_pd_count</td>\n</tr>\n<tr>\n    <td clas!
s="smallregular" nowrap="nowrap">Ratings this Week:</td>\n    <td align="right" class="smallregular">$ra_pw_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Ratings this Month:</td>\n    <td align="right" class="smallregular">$ra_pm_count</td>\n</tr>\n<tr bgcolor="#eeeeee">\n    <td class="smallregular" nowrap="nowrap">Total Comments:</td>\n    <td align="right" class="smallregular">$cm_total_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Comments Today:</td>\n    <td align="right" class="smallregular">$cm_pd_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Comments this Week:</td>\n    <td align="right" class="smallregular">$cm_pw_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Comments this Month:</td>\n    <td align="right" class="smallregular">$cm_pm_count</td>\n</tr>\n<tr bgcolor="#eeeeee">\n    <td class="smallregular" nowrap="nowrap">Total Members:</td>\n    <td align="right" class="smallregular">$su_total_count</td>\n</!
tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Signups Today:</td>\n    <td align="right" class="smallregular">$su_pd_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Signups this Week:</td>\n    <td align="right" class="smallregular">$su_pw_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Signups this Month:</td>\n    <td align="right" class="smallregular">$su_pm_count</td>\n</tr>\n</table>');
INSERT INTO templates VALUES (4, 'visitors_online', '<table cellpadding="0" cellspacing="0" border="0" width="100%">\n<tr>\n    <td class="regular">&nbsp;Visitors Online:</td>\n    <td align="right" class="regular">$uo_total&nbsp;</td>\n</tr>\n</table>');
INSERT INTO templates VALUES (5, 'logged_in', '<table cellpadding="0" cellspacing="0" border="0" width="100%">\r\n<tr>\r\n    <td width="100%" class="regular" align="right">Welcome $username<br /><a href="$base_url/logout.php?$sn=$sid" target="_top">Logout</a></td>\r\n</tr>\r\n</table>');
INSERT INTO templates VALUES (6, 'logged_out', '<table cellpadding="0" cellspacing="0" border="0" width="100%">\r\n<tr><form method="post" action="$base_url/login.php?$sn=$sid">\r\n    <td width="100%" class="regular" align="right">username:<br /><input type="text" name="UN" size="12" value="" /><br />password:<br /><input type="password" name="PW" size="12" value="" /><br />\r\n    <table cellpadding="0" cellspacing="1" border="0" width="100%">\r\n    <tr>\r\n        <td valign="bottom" nowrap="nowrap"><a href="$base_url/index.php?$sn=$sid&show=lost" target="_top" class="small">Lost<br />Password</a></td>\r\n        <td align="right" valign="bottom"><input class="button" type="submit" name="login" value="Go ->" /></td>\r\n    </tr>\r\n    </table>\r\n    </td>\r\n</form></tr>\r\n</table>');
INSERT INTO templates VALUES (7, 'about_member', '<table cellpadding="5" cellspacing="0" border="0" width="100%">\n<tr>\n    <td class="regular"><a name="profile" class="bold">Average Rating: </a>$array[average_rating]</td>\n    <td class="regular"><span class="bold">Total Points: </span>$array[total_points]</td>\n    <td class="regular" align="right"><span class="bold">Times Rated: </span>$array[total_ratings]</td>\n</tr>\n</table>\n<table cellpadding="5" cellspacing="0" border="0" width="100%">\n<tr>\n    <td class="regular" width="50%"><span class="bold">Name: </span>$array[user_name]</td>\n    <td class="regular" width="50%"><span class="bold">Age: </span>$array[age]</td>\n</tr>\n<tr>\n    <td class="regular" width="100%" colspan="2"><span class="bold">Description: </span>$array[description]</td>\n</tr>\n<tr>\n    <td class="regular" width="50%"><span class="bold">State/Province: </span>$array[state]</td>\n    <td class="regular" class="50%"><span class="bold">Country: </span><img align="top" b!
order="1" src="$base_url/images/flags/$array[country]" hspace="5" alt="$country title="$country" />$country</td>\n</tr>\n<tr>\n    <td class="regular" width=(%"><span class="bold">URL: </span><a href="$array[url]" target="_blank">$array[url]</a></td>\n    <td class="regular" width="50%"><span class="bold">Quote: </span><i>&quot;$array[quote]&quot;</i></td>\n</tr>\n</table>');
INSERT INTO templates VALUES (8, 'img_src', '<table cellpadding="1" cellspacing="0" border="0" bgcolor="black">\r\n<tr>\r\n    <td bgcolor="black"><img src="$image_src"></td>\r\n</tr>\r\n</table>');
INSERT INTO templates VALUES (9, 'comment', '<table cellpadding="2" cellspacing="0" border="0" width="100%">\n<tr>\n    <td class="regular" width="100%" colspan="2">On $d, $user_link wrote:</td>\n</tr>\n<tr>\n    <td width="1%">&nbsp;</td>\n    <td colspan="2" class="regular" width="99%">$gc_array[comment]</td>\n</tr>\n</table>');
INSERT INTO templates VALUES (10, 'copyright', 'Copyright © 2002 <a class="small" href="$base_url/index.php?$sn=$sid" target="_top">$site_title</a> - All Rights Reserved');
INSERT INTO templates VALUES (11, 'styles', '<style type="text/css">\nBODY {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\na {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $base_link_color;\n}\na:active {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $base_link_color;\n}\na:visited {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $base_link_color;\n}\na:hover {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $hover_link_color;\n    background-color: $hover_link_bg_color;\n}\na.small {\n    font-family: $base_font;\n    font-size: $small_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\na:active.small {\n    font-family: $base_font;\n    font-size: $small_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\na:visited.small {\n    font-family: $base_font;\n    font!
-size: $small_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\na:hover.small {\n    font-family: $base_font;\n    font-size: $small_font;\n    font-weight: normal;\n    color: $hover_link_color;\n    background-color: $hover_link_bg_color;\n}\na:il.hover {\n    background-color: transparent;\n}\n.title {\n    font-family: $base_font;\n    font-size: $large_font;\n    font-weight: bold;\n    color: $table_title_text_color;\n}\n.regular {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\n.selectedNav {\n    font-family: $base_font_color;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $hover_link_color;\n    background: $hover_link_bg_color;\n}\n.bold {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: bold;\n    color: $base_font_color;\n}\n.smallregular {\n    font-family: $base_font;\n    font-size: $small_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\n.error {\n    font-family: $base_font;\n    font-size: $medium!
_font;\n    font-weight: normal;\n    color: $error_font_color;\n}\n.tb_header {\n    color: $table_title_text_color;\n    background-color: $table_title_color;\n    background: url("$base_url/$tb_header_img");\n    background-repeat: repeat-x;\n}\ninput, textarea, select {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\n\n.gray_top_middle {\nbackground: url("$base_url/images/gray_top_middle.gif") repeat-x;\n    height: 18px;\n}\n.gray_middle_fill {\n    background: url("$base_url/images/gray_middle_fill.gif") repeat-x;\n    height: 1px;\n}\n.gray_title_left {\n    background: url("$base_url/images/gray_left_title.gif") repeat-y;\n}\n.gray_title_right {\n    background: url("$base_url/images/gray_right_title.gif") repeat-y;\n}\n.gray_left_body {\n    background: url("$base_url/images/gray_left_body.gif") repeat-y;\n}\n.gray_right_body {\n    background: url("$base_url/images/gray_right_body.gif") repeat-y;\n}\n.gray_bottom_middle {\n    background: url("$ba!
se_url/images/gray_bottom_middle.gif") repeat-x;\n}\n</style>');
INSERT INTO templates VALUES (12, 'doc_head', '<!DOCTYPE html \r\nPUBLIC "-//W3C//DTD XHTML 1.0\n    Transitional//EN"\r\n" DTD/xhtml1-transitional.dtd">\n<html>\n<head>\n<title> .: $site_title :.</title>\n<meta name="keywords" content="place,keywords,here" />\n<meta name="description" content="irater is a highly advanced PHP Script which allows you to enhance your site by adding an upload and rate me section." />\n<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />');
INSERT INTO templates VALUES (13, 'body_tag', '<body bgcolor="$page_bg_color">\r\n<center><img src="banner.jpg" width="468" height="60" border="0" alt="irater" title="irater" vspace="2"></a></center>');
INSERT INTO templates VALUES (14, 'lost_pass_form', '<table border="0" cellpadding="3" cellspacing="0" width="100%">\n<tr>\n    <td width="100%" class="regular" align="center"><br />Enter your Username or Email Address<br />and we will send you your Password Hint.<br /><br /></td>\n</tr>\n<form method="post" action="$base_url/index.php?$sn=$sid&amp;show=lost&amp;search=1">\n<tr>\n    <td width="100%" class="regular" align="center">Username: <input type="text" name="search_username" size="16" value="" />&nbsp;<input class="button" type="submit" name="lost_username" value="Search ->" /><br /></form><form method="post" action="$base_url/index.php?$sn=$sid&amp;show=lost&amp;search=1">Email Address: <input type="lost_email" name="search_email" size="24" value="" />&nbsp;<input class="button" type="submit" name="lost_email" value="Search ->" /><br /><br /></td>\n</tr>\n</form>\n</table>');
INSERT INTO templates VALUES (15, 'comment_list', '<table cellpadding="2" cellspacing="0" border="0" width="100%">\r\n<tr>\r\n    <td class="regular" width="100%" colspan="2">On $d, $user_link left a comment for $member_link:</td>\r\n</tr>\r\n<tr>\r\n    <td width="1%"> </td>\r\n    <td colspan="2" class="regular" width="99%">$gc_array[comment]</td>\r\n</tr>\r\n</table>');
INSERT INTO templates VALUES (16, 'direct_link', '<table cellpadding="2" cellspacing="0" border="0">\r\n<tr><form>\r\n<td class="regular">Link to this page: </td>\r\n<td class="regular"><input type="text" value="$base_url/?i=$array[id]" size="42" readonly onFocus="select()" onSelect="select()"></td>\r\n</form></tr>\r\n</table>');
# --------------------------------------------------------

#
# Table structure for table `users`
#

CREATE TABLE users (
 id smallint(5) unsigned NOT NULL auto_increment,
 username varchar(16) NOT NULL default '',
 password varchar(16) NOT NULL default '',
 hint varchar(100) NOT NULL default '',
 realname varchar(48) NOT NULL default '',
 description text NOT NULL,
 age tinyint(2) unsigned NOT NULL default '0',
 sex enum('m','f') NOT NULL default 'm',
 state varchar(32) NOT NULL default '',
 country varchar(32) NOT NULL default 'United_States.gif',
 email varchar(48) NOT NULL default '',
 url varchar(255) NOT NULL default '',
 quote varchar(255) NOT NULL default '',
 image enum('here','there') NOT NULL default 'there',
 image_url varchar(144) NOT NULL default '',
 image_ext varchar(4) NOT NULL default '',
 image_status enum('-1','0','1') NOT NULL default '-1',
 total_ratings smallint(5) unsigned NOT NULL default '0',
 total_points mediumint(9) unsigned NOT NULL default '0',
 average_rating decimal(6,4) NOT NULL default '0.0000',
 total_comments int(10) unsigned NOT NULL default '0',
 signup varchar(14) NOT NULL default '',
 timestamp timestamp(14) NOT NULL,
 PRIMARY KEY (id),
 KEY sex (sex),
 KEY timestamp (timestamp),
 KEY signup (signup),
 KEY username (username),
 KEY email (email)
) TYPE=MyISAM;

#
# Dumping data for table `users`
#

#
# Table structure for table `usersTemp`
#

CREATE TABLE usersTemp (
 id smallint(5) unsigned NOT NULL auto_increment,
 username varchar(16) NOT NULL default '',
 password varchar(16) NOT NULL default '',
 hint varchar(100) NOT NULL default '',
 realname varchar(48) NOT NULL default '',
 description text NOT NULL,
 age tinyint(2) unsigned NOT NULL default '0',
 sex enum('m','f') NOT NULL default 'm',
 state varchar(32) NOT NULL default '',
 country varchar(32) NOT NULL default 'United_States.gif',
 email varchar(48) NOT NULL default '',
 url varchar(255) NOT NULL default '',
 quote varchar(255) NOT NULL default '',
 image enum('here','there') NOT NULL default 'there',
 image_url varchar(144) NOT NULL default '',
 image_ext varchar(4) NOT NULL default '',
 image_status enum('-1','0','1') NOT NULL default '-1',
 total_ratings smallint(5) unsigned NOT NULL default '0',
 total_points mediumint(9) unsigned NOT NULL default '0',
 average_rating decimal(6,4) NOT NULL default '0.0000',
 total_comments int(10) unsigned NOT NULL default '0',
 signup varchar(14) NOT NULL default '',
 timestamp timestamp(14) NOT NULL,
 PRIMARY KEY (id),
 KEY sex (sex),
 KEY timestamp (timestamp),
 KEY signup (signup),
 KEY username (username),
 KEY email (email)
) TYPE=MyISAM;

#
# Dumping data for table `usersTemp`
#
  1. # Database : `irater`
  2. # --------------------------------------------------------
  3. #
  4. # Table structure for table `admin`
  5. #
  6. drop table if exists admin;
  7. drop table if exists comments;
  8. drop table if exists pms;
  9. drop table if exists std_notify;
  10. drop table if exists ratings;
  11. drop table if exists sessions;
  12. drop table if exists settings;
  13. drop table if exists templates;
  14. drop table if exists users;
  15. drop table if exists image_types;
  16. drop table if exists usersTemp;
  17. CREATE TABLE admin (
  18.  id tinyint(4) NOT NULL auto_increment,
  19.  username char(16) NOT NULL default '',
  20.  password char(32) NOT NULL default '',
  21.  PRIMARY KEY (id)
  22. ) TYPE=MyISAM;
  23. #
  24. # Dumping data for table `admin`
  25. #
  26. INSERT INTO admin VALUES (1, 'admin', 'password');
  27. # --------------------------------------------------------
  28. #
  29. # Table structure for table `comments`
  30. #
  31. CREATE TABLE comments (
  32.  id int(7) unsigned NOT NULL auto_increment,
  33.  user_id smallint(5) unsigned NOT NULL default '0',
  34.  comment text NOT NULL,
  35.  author_id smallint(5) NOT NULL default '0',
  36.  author_ip varchar(15) NOT NULL default '',
  37.  status varchar(16) NOT NULL default 'waiting',
  38.  timestamp timestamp(14) NOT NULL,
  39.  PRIMARY KEY (id),
  40.  KEY timestamp (timestamp),
  41.  KEY user_id (user_id)
  42. ) TYPE=MyISAM;
  43. #
  44. # Dumping data for table `comments`
  45. #
  46. #
  47. # Table structure for table `image_types`
  48. #
  49. CREATE TABLE image_types (
  50.  id tinyint(3) unsigned NOT NULL auto_increment,
  51.  ext char(4) NOT NULL default '',
  52.  PRIMARY KEY (id)
  53. ) TYPE=MyISAM;
  54. #
  55. # Dumping data for table `image_types`
  56. #
  57. INSERT INTO image_types VALUES (1, 'bmp');
  58. INSERT INTO image_types VALUES (2, 'gif');
  59. INSERT INTO image_types VALUES (3, 'jpg');
  60. INSERT INTO image_types VALUES (4, 'jpeg');
  61. INSERT INTO image_types VALUES (5, 'png');
  62. # --------------------------------------------------------
  63. #
  64. # Table structure for table `pms`
  65. #
  66. CREATE TABLE pms (
  67.  id int(7) unsigned NOT NULL auto_increment,
  68.  user_id smallint(5) unsigned NOT NULL default '0',
  69.  subject varchar(50) NOT NULL default '',
  70.  message text NOT NULL,
  71.  author_id smallint(5) NOT NULL default '0',
  72.  author_ip varchar(15) NOT NULL default '',
  73.  pm_status varchar(16) NOT NULL default 'unread',
  74.  timestamp timestamp(14) NOT NULL,
  75.  PRIMARY KEY (id),
  76.  KEY timestamp (timestamp),
  77.  KEY user_id (user_id)
  78. ) TYPE=MyISAM;
  79. #
  80. # Dumping data for table `pms`
  81. #
  82. #
  83. # Table structure for table `ratings`
  84. #
  85. CREATE TABLE ratings (
  86.  id int(7) unsigned NOT NULL auto_increment,
  87.  user_id smallint(5) unsigned NOT NULL default '0',
  88.  rating tinyint(1) unsigned NOT NULL default '0',
  89.  rater_id smallint(5) NOT NULL default '0',
  90.  rater_ip char(15) NOT NULL default '',
  91.  timestamp timestamp(14) NOT NULL,
  92.  PRIMARY KEY (id),
  93.  KEY timestamp (timestamp),
  94.  KEY user_id (user_id)
  95. ) TYPE=MyISAM;
  96. #
  97. # Dumping data for table `ratings`
  98. #
  99. #
  100. # Table structure for table `sessions`
  101. #
  102. CREATE TABLE sessions (
  103.  id varchar(32) NOT NULL default '',
  104.  data text NOT NULL,
  105.  expire int(11) unsigned NOT NULL default '0',
  106.  PRIMARY KEY (id)
  107. ) TYPE=MyISAM;
  108. #
  109. # Dumping data for table `sessions`
  110. #
  111. #
  112. # Table structure for table `settings`
  113. #
  114. CREATE TABLE settings (
  115.  orderby tinyint(3) unsigned NOT NULL default '0',
  116.  name varchar(24) NOT NULL default '',
  117.  setting varchar(255) NOT NULL default '',
  118.  descr varchar(255) NOT NULL default '',
  119.  PRIMARY KEY (name)
  120. ) TYPE=MyISAM;
  121. #
  122. # Dumping data for table `settings`
  123. #
  124. INSERT INTO settings VALUES (105, 'max_image_size', '102400', 'This is the maximum size an image file can be, this applies to locally stored images only.');
  125. INSERT INTO settings VALUES (160, 'np', '3', 'The number of navigation links you want dispayed on each side of the current member page. 3 or 4 is probably best.');
  126. INSERT INTO settings VALUES (80, 'table_border_color', 'yellow', 'This affects the outer table border. See include/tables.php for more info.');
  127. INSERT INTO settings VALUES (65, 'table_title_color', 'black', 'This affects the table title bar background color. See include/tables.php for more info.');
  128. INSERT INTO settings VALUES (75, 'table_content_color', 'white', 'This affects the color of the table body. See include/tables.php for more info.');
  129. INSERT INTO settings VALUES (85, 'page_bg_color', '#ffffff', 'Overall page background color.');
  130. INSERT INTO settings VALUES (50, 'title_img', 'images/logo.jpg', 'This is the relative path to the main title image that appears on the main page.');
  131. INSERT INTO settings VALUES (55, 'tb_header_img', 'images/bar.gif', 'This is the image used for the table header background. See also \'table_title_color\'.');
  132. INSERT INTO settings VALUES (15, 'base_font', 'Tahoma, Verdana, sans-serif', 'General font face.');
  133. INSERT INTO settings VALUES (20, 'base_font_size', '13', 'General font size in pixels, 11-15 is probably best.');
  134. INSERT INTO settings VALUES (25, 'base_font_color', 'black', 'General site font color.');
  135. INSERT INTO settings VALUES (30, 'base_link_color', 'black', 'General link color.');
  136. INSERT INTO settings VALUES (35, 'hover_link_color', 'yellow', 'Hover link color.');
  137. INSERT INTO settings VALUES (40, 'hover_link_bg_color', '#333366', 'Hover link background color.');
  138. INSERT INTO settings VALUES (70, 'table_title_text_color', '#333366', 'This is the font color for the table headers.');
  139. INSERT INTO settings VALUES (45, 'error_font_color', 'red', 'General error font color.');
  140. INSERT INTO settings VALUES (10, 'site_title', 'irater', 'The name of your irater based site.');
  141. INSERT INTO settings VALUES (165, 'speed_rate', '1', 'If set to yes, this adds a 2 second <meta> refresh to the rating thank you page. You probably want this.');
  142. INSERT INTO settings VALUES (150, 'girl_count', '10', 'How many girls to list in the mini-list.');
  143. INSERT INTO settings VALUES (155, 'guy_count', '10', 'How many guys to list in the mini-list.');
  144. INSERT INTO settings VALUES (135, 'show_site_stats', '1', 'If set to yes, this causes the site stats to be shown. You probably want this. Site stats can be further customized by editing the proper template.');
  145. INSERT INTO settings VALUES (140, 'girl_t', '1', 'If set to yes, this causes the girl\'s mini-list to be displayed.');
  146. INSERT INTO settings VALUES (145, 'guy_t', '1', 'If set to yes, this causes the guy\'s mini-list to be displayed.');
  147. INSERT INTO settings VALUES (60, 'table_file', 'tables.gray.php', 'What table theme you want to use.');
  148. INSERT INTO settings VALUES (90, 'left_col_width', '156', 'This is the width of the left column in pixels.');
  149. INSERT INTO settings VALUES (95, 'right_col_width', '156', 'This is the width of the right column in pixels.');
  150. INSERT INTO settings VALUES (100, 'main_col_width', '658', 'This is the width of the main column in pixels.');
  151. INSERT INTO settings VALUES (120, 'allow_local_image', '1', 'This setting controls whether or not you allow users to store their images locally on your server.');
  152. INSERT INTO settings VALUES (125, 'allow_remote_image', '1', 'This setting controls whether or not you allow users to store their images on their own remote server.');
  153. INSERT INTO settings VALUES (170, 'max_un_length', '14', 'This setting is for chopping the username\'s length down so it doesn\'t overrun the table width in the mini toplists at the top-right.');
  154. INSERT INTO settings VALUES (130, 'comments_per_page', '10', 'This setting is for setting a maximum number of comments per page on your view comments page.');
  155. INSERT INTO settings VALUES (110, 'max_image_width', '640', 'This is the maximum width an image file can be, this applies to locally stored images only.');
  156. INSERT INTO settings VALUES (115, 'max_image_height', '640', 'This is the maximum height an image file can be, this applies to locally stored images only.');
  157. INSERT INTO settings VALUES (180, 'is_free', 'yes', 'change this to "no" if you want to charge a subscription fee to your site. You will have to change the values in the /includes/signup.php file to your paypal account');
  158. # --------------------------------------------------------
  159. #
  160. # Table structure for table `std_notify`
  161. #
  162. CREATE TABLE std_notify (
  163.  ipn_id int(10) NOT NULL auto_increment,
  164.  receiver_email varchar(75) NOT NULL default '',
  165.  business varchar(75) NOT NULL default '',
  166.  item_name varchar(127) default NULL,
  167.  item_number varchar(127) default NULL,
  168.  quantity int(10) default NULL,
  169.  invoice varchar(64) default NULL,
  170.  custom varchar(64) default NULL,
  171.  option_name1 varchar(127) default NULL,
  172.  option_selection1 varchar(127) default NULL,
  173.  option_name2 varchar(127) default NULL,
  174.  option_selection2 varchar(127) default NULL,
  175.  num_cart_items int(10) default NULL,
  176.  payment_status enum('Completed','Pending','Failed','Denied','Reversed') default NULL,
  177.  pending_reason enum('echeck','intl','verify','address','upgrade','unilateral','other') default NULL,
  178.  payment_date varchar(55) default NULL,
  179.  settle_amount decimal(9,2) default NULL,
  180.  settle_currency enum('USD','CAD','GBP','EUR','JPY') default NULL,
  181.  exchange_rate varchar(15) default NULL,
  182.  payment_gross decimal(9,2) default NULL,
  183.  payment_fee decimal(9,2) default NULL,
  184.  mc_gross decimal(9,2) default NULL,
  185.  mc_fee decimal(9,2) default NULL,
  186.  mc_currency enum('USD','CAD','GBP','EUR','JPY') default NULL,
  187.  tax decimal(9,2) default NULL,
  188.  txn_id varchar(50) default NULL,
  189.  txn_type enum('web_accept','cart','send_money') default NULL,
  190.  memo tinytext,
  191.  first_name varchar(32) default NULL,
  192.  last_name varchar(32) default NULL,
  193.  address_street varchar(64) default NULL,
  194.  address_city varchar(32) default NULL,
  195.  address_state varchar(32) default NULL,
  196.  address_zip varchar(25) default NULL,
  197.  address_country varchar(32) default NULL,
  198.  address_status enum('confirmed','unconfirmed') default NULL,
  199.  payer_email varchar(75) default NULL,
  200.  payer_id varchar(60) default NULL,
  201.  payer_status enum('verified','unverified','intl_verified','intl_unverified') default NULL,
  202.  payment_type enum('echeck','instant') default NULL,
  203.  notify_version varchar(10) default NULL,
  204.  verify_sign varchar(128) default NULL,
  205.  status enum('VERIFIED','INVALID') default NULL,
  206.  signed enum('SIGNEDUP','FREE') default NULL,
  207.  user_ID int(10) default '0',
  208.  PRIMARY KEY (ipn_id)
  209. ) TYPE=MyISAM;
  210. #
  211. # Dumping data for table `std_notify`
  212. #
  213. #
  214. # Table structure for table `templates`
  215. #
  216. CREATE TABLE templates (
  217.  id tinyint(4) unsigned NOT NULL auto_increment,
  218.  name varchar(16) NOT NULL default '',
  219.  template text NOT NULL,
  220.  PRIMARY KEY (id),
  221.  UNIQUE KEY name (name)
  222. ) TYPE=MyISAM;
  223. #
  224. # Dumping data for table `templates`
  225. #
  226. INSERT INTO templates VALUES (1, 'main_text', '<table border="0" cellpadding="5" cellspacing="0" width="100%">\r\n<tr>\r\n<td width="100%" class="regular"><img src="$base_url/$title_img" border="0" alt="$title" title="$title" /></td>\r\n</tr>\r\n<tr>\r\n<td width="100%" class="regular">Welcome to <a href="$base_url/index.php?$sn=$sid">$site_title</a>.  Here you can upload your picture and have others view it and rate it.  It\'s a great way to meet new people too.  Not only can you rate other member\'s pictures, you can also leave private messages and comments too!  Best of all, membership is totally Free!  <a href="$base_url/index.php?$sn=$sid&show=signup">Signup now</a> and join the fun!\r\n</td>\r\n</tr>\r\n<tr>\r\n<td width="100%" class="regular"><span class="bold">How it works:</span> You <a href="$base_url/index.php?$sn=$sid&show=signup">signup</a> and become a member. Once signed up you can upload your image. You may also link to your image if you already have it on!
  227. another server. Once your image is approved by us, it will begin to appear on the site. Visitors will view your image and rate it depending on their own personal opinion. Visitors may also leave public comments about you, and some may even decide to leave you a private message.</td>\r\n</tr>\r\n<tr>\r\n<td width="100%" class="regular"><span class="bold">Rules:</span> No porn allowed! This means no "naked pictures" allowed. All images are approved by us before being shown on the site. If you upload porn we will delete it. If you link to porn we will delete it. This is an "all ages" site so keep it clean! To keep the site as fast as possible, all images must be smaller than $max_image_size bytes in filesize.<br /><br /><a href="$base_url/index.php?$sn=$sid&show=signup"><b>CLICK HERE TO SIGNUP NOW!</b></a><br><br></td>\r\n</tr>\r\n<tr>\r\n<td width="100%" class="regular"></td>\r\n</tr>\r\n<tr>\r\n<td width="100%" class="smallregular" align="right">Designed for 1024x76!
  228. 8 resolution, 24bit color or better</td>\r\n</tr>\r\n</table>');
  229. INSERT INTO templates VALUES (2, 'image_rules', '<ul>\r\n<li class="regular">No porn allowed! This means no "naked pictures". All images are approved by us before being shown on the site. If you upload or link to porn we will delete it.</li>\r\n<li class="regular">To keep the site as fast as possible, all images must be smaller than $max_image_size bytes in filesize.</li>\r\n<li class="regular">Both new image uploads and new image URLs cause image statistics to be reset. Make sure you are ready to start over if you decide to update an already highly rated image. We can not recover accidentally overwritten images.</li>\r\n</ul>');
  230. INSERT INTO templates VALUES (3, 'site_stats', '<table cellpadding="0" cellspacing="0" border="0" width="100%">\n<tr bgcolor="#eeeeee">\n    <td class="smallregular" nowrap="nowrap">Total Points:</td>\n    <td align="right" class="smallregular">$pts_total_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Points Today:</td>\n    <td align="right" class="smallregular">$pts_pd_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Points this Week:</td>\n    <td align="right" class="smallregular">$pts_pw_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Points this Month:</td>\n    <td align="right" class="smallregular">$pts_pm_count</td>\n</tr>\n<tr bgcolor="#eeeeee">\n    <td class="smallregular" nowrap="nowrap">Total Ratings:</td>\n    <td align="right" class="smallregular">$ra_total_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Ratings Today:</td>\n    <td align="right" class="smallregular">$ra_pd_count</td>\n</tr>\n<tr>\n    <td clas!
  231. s="smallregular" nowrap="nowrap">Ratings this Week:</td>\n    <td align="right" class="smallregular">$ra_pw_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Ratings this Month:</td>\n    <td align="right" class="smallregular">$ra_pm_count</td>\n</tr>\n<tr bgcolor="#eeeeee">\n    <td class="smallregular" nowrap="nowrap">Total Comments:</td>\n    <td align="right" class="smallregular">$cm_total_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Comments Today:</td>\n    <td align="right" class="smallregular">$cm_pd_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Comments this Week:</td>\n    <td align="right" class="smallregular">$cm_pw_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Comments this Month:</td>\n    <td align="right" class="smallregular">$cm_pm_count</td>\n</tr>\n<tr bgcolor="#eeeeee">\n    <td class="smallregular" nowrap="nowrap">Total Members:</td>\n    <td align="right" class="smallregular">$su_total_count</td>\n</!
  232. tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Signups Today:</td>\n    <td align="right" class="smallregular">$su_pd_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Signups this Week:</td>\n    <td align="right" class="smallregular">$su_pw_count</td>\n</tr>\n<tr>\n    <td class="smallregular" nowrap="nowrap">Signups this Month:</td>\n    <td align="right" class="smallregular">$su_pm_count</td>\n</tr>\n</table>');
  233. INSERT INTO templates VALUES (4, 'visitors_online', '<table cellpadding="0" cellspacing="0" border="0" width="100%">\n<tr>\n    <td class="regular">&nbsp;Visitors Online:</td>\n    <td align="right" class="regular">$uo_total&nbsp;</td>\n</tr>\n</table>');
  234. INSERT INTO templates VALUES (5, 'logged_in', '<table cellpadding="0" cellspacing="0" border="0" width="100%">\r\n<tr>\r\n    <td width="100%" class="regular" align="right">Welcome $username<br /><a href="$base_url/logout.php?$sn=$sid" target="_top">Logout</a></td>\r\n</tr>\r\n</table>');
  235. INSERT INTO templates VALUES (6, 'logged_out', '<table cellpadding="0" cellspacing="0" border="0" width="100%">\r\n<tr><form method="post" action="$base_url/login.php?$sn=$sid">\r\n    <td width="100%" class="regular" align="right">username:<br /><input type="text" name="UN" size="12" value="" /><br />password:<br /><input type="password" name="PW" size="12" value="" /><br />\r\n    <table cellpadding="0" cellspacing="1" border="0" width="100%">\r\n    <tr>\r\n        <td valign="bottom" nowrap="nowrap"><a href="$base_url/index.php?$sn=$sid&show=lost" target="_top" class="small">Lost<br />Password</a></td>\r\n        <td align="right" valign="bottom"><input class="button" type="submit" name="login" value="Go ->" /></td>\r\n    </tr>\r\n    </table>\r\n    </td>\r\n</form></tr>\r\n</table>');
  236. INSERT INTO templates VALUES (7, 'about_member', '<table cellpadding="5" cellspacing="0" border="0" width="100%">\n<tr>\n    <td class="regular"><a name="profile" class="bold">Average Rating: </a>$array[average_rating]</td>\n    <td class="regular"><span class="bold">Total Points: </span>$array[total_points]</td>\n    <td class="regular" align="right"><span class="bold">Times Rated: </span>$array[total_ratings]</td>\n</tr>\n</table>\n<table cellpadding="5" cellspacing="0" border="0" width="100%">\n<tr>\n    <td class="regular" width="50%"><span class="bold">Name: </span>$array[user_name]</td>\n    <td class="regular" width="50%"><span class="bold">Age: </span>$array[age]</td>\n</tr>\n<tr>\n    <td class="regular" width="100%" colspan="2"><span class="bold">Description: </span>$array[description]</td>\n</tr>\n<tr>\n    <td class="regular" width="50%"><span class="bold">State/Province: </span>$array[state]</td>\n    <td class="regular" class="50%"><span class="bold">Country: </span><img align="top" b!
  237. order="1" src="$base_url/images/flags/$array[country]" hspace="5" alt="$country title="$country" />$country</td>\n</tr>\n<tr>\n    <td class="regular" width=(%"><span class="bold">URL: </span><a href="$array[url]" target="_blank">$array[url]</a></td>\n    <td class="regular" width="50%"><span class="bold">Quote: </span><i>&quot;$array[quote]&quot;</i></td>\n</tr>\n</table>');
  238. INSERT INTO templates VALUES (8, 'img_src', '<table cellpadding="1" cellspacing="0" border="0" bgcolor="black">\r\n<tr>\r\n    <td bgcolor="black"><img src="$image_src"></td>\r\n</tr>\r\n</table>');
  239. INSERT INTO templates VALUES (9, 'comment', '<table cellpadding="2" cellspacing="0" border="0" width="100%">\n<tr>\n    <td class="regular" width="100%" colspan="2">On $d, $user_link wrote:</td>\n</tr>\n<tr>\n    <td width="1%">&nbsp;</td>\n    <td colspan="2" class="regular" width="99%">$gc_array[comment]</td>\n</tr>\n</table>');
  240. INSERT INTO templates VALUES (10, 'copyright', 'Copyright © 2002 <a class="small" href="$base_url/index.php?$sn=$sid" target="_top">$site_title</a> - All Rights Reserved');
  241. INSERT INTO templates VALUES (11, 'styles', '<style type="text/css">\nBODY {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\na {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $base_link_color;\n}\na:active {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $base_link_color;\n}\na:visited {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $base_link_color;\n}\na:hover {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $hover_link_color;\n    background-color: $hover_link_bg_color;\n}\na.small {\n    font-family: $base_font;\n    font-size: $small_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\na:active.small {\n    font-family: $base_font;\n    font-size: $small_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\na:visited.small {\n    font-family: $base_font;\n    font!
  242. -size: $small_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\na:hover.small {\n    font-family: $base_font;\n    font-size: $small_font;\n    font-weight: normal;\n    color: $hover_link_color;\n    background-color: $hover_link_bg_color;\n}\na:il.hover {\n    background-color: transparent;\n}\n.title {\n    font-family: $base_font;\n    font-size: $large_font;\n    font-weight: bold;\n    color: $table_title_text_color;\n}\n.regular {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\n.selectedNav {\n    font-family: $base_font_color;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $hover_link_color;\n    background: $hover_link_bg_color;\n}\n.bold {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: bold;\n    color: $base_font_color;\n}\n.smallregular {\n    font-family: $base_font;\n    font-size: $small_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\n.error {\n    font-family: $base_font;\n    font-size: $medium!
  243. _font;\n    font-weight: normal;\n    color: $error_font_color;\n}\n.tb_header {\n    color: $table_title_text_color;\n    background-color: $table_title_color;\n    background: url("$base_url/$tb_header_img");\n    background-repeat: repeat-x;\n}\ninput, textarea, select {\n    font-family: $base_font;\n    font-size: $medium_font;\n    font-weight: normal;\n    color: $base_font_color;\n}\n\n.gray_top_middle {\nbackground: url("$base_url/images/gray_top_middle.gif") repeat-x;\n    height: 18px;\n}\n.gray_middle_fill {\n    background: url("$base_url/images/gray_middle_fill.gif") repeat-x;\n    height: 1px;\n}\n.gray_title_left {\n    background: url("$base_url/images/gray_left_title.gif") repeat-y;\n}\n.gray_title_right {\n    background: url("$base_url/images/gray_right_title.gif") repeat-y;\n}\n.gray_left_body {\n    background: url("$base_url/images/gray_left_body.gif") repeat-y;\n}\n.gray_right_body {\n    background: url("$base_url/images/gray_right_body.gif") repeat-y;\n}\n.gray_bottom_middle {\n    background: url("$ba!
  244. se_url/images/gray_bottom_middle.gif") repeat-x;\n}\n</style>');
  245. INSERT INTO templates VALUES (12, 'doc_head', '<!DOCTYPE html \r\nPUBLIC "-//W3C//DTD XHTML 1.0\n    Transitional//EN"\r\n" DTD/xhtml1-transitional.dtd">\n<html>\n<head>\n<title> .: $site_title :.</title>\n<meta name="keywords" content="place,keywords,here" />\n<meta name="description" content="irater is a highly advanced PHP Script which allows you to enhance your site by adding an upload and rate me section." />\n<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />');
  246. INSERT INTO templates VALUES (13, 'body_tag', '<body bgcolor="$page_bg_color">\r\n<center><img src="banner.jpg" width="468" height="60" border="0" alt="irater" title="irater" vspace="2"></a></center>');
  247. INSERT INTO templates VALUES (14, 'lost_pass_form', '<table border="0" cellpadding="3" cellspacing="0" width="100%">\n<tr>\n    <td width="100%" class="regular" align="center"><br />Enter your Username or Email Address<br />and we will send you your Password Hint.<br /><br /></td>\n</tr>\n<form method="post" action="$base_url/index.php?$sn=$sid&amp;show=lost&amp;search=1">\n<tr>\n    <td width="100%" class="regular" align="center">Username: <input type="text" name="search_username" size="16" value="" />&nbsp;<input class="button" type="submit" name="lost_username" value="Search ->" /><br /></form><form method="post" action="$base_url/index.php?$sn=$sid&amp;show=lost&amp;search=1">Email Address: <input type="lost_email" name="search_email" size="24" value="" />&nbsp;<input class="button" type="submit" name="lost_email" value="Search ->" /><br /><br /></td>\n</tr>\n</form>\n</table>');
  248. INSERT INTO templates VALUES (15, 'comment_list', '<table cellpadding="2" cellspacing="0" border="0" width="100%">\r\n<tr>\r\n    <td class="regular" width="100%" colspan="2">On $d, $user_link left a comment for $member_link:</td>\r\n</tr>\r\n<tr>\r\n    <td width="1%"> </td>\r\n    <td colspan="2" class="regular" width="99%">$gc_array[comment]</td>\r\n</tr>\r\n</table>');
  249. INSERT INTO templates VALUES (16, 'direct_link', '<table cellpadding="2" cellspacing="0" border="0">\r\n<tr><form>\r\n<td class="regular">Link to this page: </td>\r\n<td class="regular"><input type="text" value="$base_url/?i=$array[id]" size="42" readonly onFocus="select()" onSelect="select()"></td>\r\n</form></tr>\r\n</table>');
  250. # --------------------------------------------------------
  251. #
  252. # Table structure for table `users`
  253. #
  254. CREATE TABLE users (
  255.  id smallint(5) unsigned NOT NULL auto_increment,
  256.  username varchar(16) NOT NULL default '',
  257.  password varchar(16) NOT NULL default '',
  258.  hint varchar(100) NOT NULL default '',
  259.  realname varchar(48) NOT NULL default '',
  260.  description text NOT NULL,
  261.  age tinyint(2) unsigned NOT NULL default '0',
  262.  sex enum('m','f') NOT NULL default 'm',
  263.  state varchar(32) NOT NULL default '',
  264.  country varchar(32) NOT NULL default 'United_States.gif',
  265.  email varchar(48) NOT NULL default '',
  266.  url varchar(255) NOT NULL default '',
  267.  quote varchar(255) NOT NULL default '',
  268.  image enum('here','there') NOT NULL default 'there',
  269.  image_url varchar(144) NOT NULL default '',
  270.  image_ext varchar(4) NOT NULL default '',
  271.  image_status enum('-1','0','1') NOT NULL default '-1',
  272.  total_ratings smallint(5) unsigned NOT NULL default '0',
  273.  total_points mediumint(9) unsigned NOT NULL default '0',
  274.  average_rating decimal(6,4) NOT NULL default '0.0000',
  275.  total_comments int(10) unsigned NOT NULL default '0',
  276.  signup varchar(14) NOT NULL default '',
  277.  timestamp timestamp(14) NOT NULL,
  278.  PRIMARY KEY (id),
  279.  KEY sex (sex),
  280.  KEY timestamp (timestamp),
  281.  KEY signup (signup),
  282.  KEY username (username),
  283.  KEY email (email)
  284. ) TYPE=MyISAM;
  285. #
  286. # Dumping data for table `users`
  287. #
  288. #
  289. # Table structure for table `usersTemp`
  290. #
  291. CREATE TABLE usersTemp (
  292.  id smallint(5) unsigned NOT NULL auto_increment,
  293.  username varchar(16) NOT NULL default '',
  294.  password varchar(16) NOT NULL default '',
  295.  hint varchar(100) NOT NULL default '',
  296.  realname varchar(48) NOT NULL default '',
  297.  description text NOT NULL,
  298.  age tinyint(2) unsigned NOT NULL default '0',
  299.  sex enum('m','f') NOT NULL default 'm',
  300.  state varchar(32) NOT NULL default '',
  301.  country varchar(32) NOT NULL default 'United_States.gif',
  302.  email varchar(48) NOT NULL default '',
  303.  url varchar(255) NOT NULL default '',
  304.  quote varchar(255) NOT NULL default '',
  305.  image enum('here','there') NOT NULL default 'there',
  306.  image_url varchar(144) NOT NULL default '',
  307.  image_ext varchar(4) NOT NULL default '',
  308.  image_status enum('-1','0','1') NOT NULL default '-1',
  309.  total_ratings smallint(5) unsigned NOT NULL default '0',
  310.  total_points mediumint(9) unsigned NOT NULL default '0',
  311.  average_rating decimal(6,4) NOT NULL default '0.0000',
  312.  total_comments int(10) unsigned NOT NULL default '0',
  313.  signup varchar(14) NOT NULL default '',
  314.  timestamp timestamp(14) NOT NULL,
  315.  PRIMARY KEY (id),
  316.  KEY sex (sex),
  317.  KEY timestamp (timestamp),
  318.  KEY signup (signup),
  319.  KEY username (username),
  320.  KEY email (email)
  321. ) TYPE=MyISAM;
  322. #
  323. # Dumping data for table `usersTemp`
  324. #
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • Avatar de l’utilisateur
  • Inscription: Mai 28, 2003
  • Messages: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Message Février 22nd, 2004, 8:25 pm

nunyaB - PM Bigwebmaster le propriétaire du site et / ou Supermod UNFLUX sur l'hébergement. Soit l'un d'entre eux peut vous mettre en place et de faire ce travail facilement. UNFLUX est hors de la ville pour quelques jours, mais Bigweb est ici et se fera un plaisir de vous aider. IMHO votre hôte sucks.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • RichB
  • Guru
  • Guru
  • Avatar de l’utilisateur
  • Inscription: Mai 17, 2003
  • Messages: 1121
  • Loc: Boston
  • Status: Offline

Message Février 22nd, 2004, 8:28 pm

Je viens d'essayer dans phpmyadmin, et il a bien fonctionné pour moi aussi. Peut-être essayer de supprimer les commentaires. Je ne vois pas comment cela ferait une différence, mais sa vaut la peine d'essayer - peut-être supprimer le premier lot d'observations et de voir si la ligne que l'erreur est signalée sur les changements et ensuite si elle ne fait supprimer tous les commentaires et voir ce qui se passe.
Free Programming Resources
  • nunyaB
  • Newbie
  • Newbie
  • No Avatar
  • Inscription: Fév 22, 2004
  • Messages: 12
  • Status: Offline

Message Février 22nd, 2004, 8:39 pm

Quote:
nunyaB - PM Bigwebmaster le propriétaire du site et / ou Supermod UNFLUX sur l'hébergement. Soit l'un d'entre eux peut vous mettre en place et de faire ce travail facilement. UNFLUX est hors de la ville pour quelques jours, mais Bigweb est ici et se fera un plaisir de vous aider. IMHO votre hôte sucks.



Ils ont une entreprise d'hébergement? Si oui, quelle est l'url? Jaimerais vérifier.


Et oui, ils sucent dur. Theyll aller pour vous quand il s'agit de la vente, mais leur soutien est très minimale. Im allons passer tout de suite, parce que j'ai besoin de mon script en place et fonctionne.
  • nunyaB
  • Newbie
  • Newbie
  • No Avatar
  • Inscription: Fév 22, 2004
  • Messages: 12
  • Status: Offline

Message Février 22nd, 2004, 8:42 pm

Quote:
Je viens d'essayer dans phpmyadmin, et il a bien fonctionné pour moi aussi. Peut-être essayer de supprimer les commentaires. Je ne vois pas comment cela ferait une différence, mais sa vaut la peine d'essayer - peut-être supprimer le premier lot d'observations et de voir si la ligne que l'erreur est signalée sur les changements et ensuite si elle ne fait supprimer tous les commentaires et voir ce qui se passe.




Hé,

Merci pour les suggestions, mais à chaque fois que je tente de supprimer quelque chose, je obtenir un autre. Mon meilleur pari est de changer les hôtes, et Im thats ce que va faire.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • Avatar de l’utilisateur
  • Inscription: Mai 28, 2003
  • Messages: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Message Février 22nd, 2004, 8:45 pm

Trust me...PM Bigwebmaster juste. Depuis hes le propriétaire vous y retrouver. Je ne connais pas les détails sur son affaire, mais l'enfer expliquer. Tout ce que vous avez à faire est de trouver un poste qu'il a faites et de cliquer sur le bouton PM.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • nunyaB
  • Newbie
  • Newbie
  • No Avatar
  • Inscription: Fév 22, 2004
  • Messages: 12
  • Status: Offline

Message Février 22nd, 2004, 8:54 pm

Parfait alors!




thnx
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • Avatar de l’utilisateur
  • Inscription: Mai 28, 2003
  • Messages: 23407
  • Loc: Woodbridge VA
  • Status: Offline

Message Février 22nd, 2004, 9:20 pm

Bonne chance. J'ai fait de mon mieux. Je ne savais pas comment au premier baiser de votre accueil a été.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.

Afficher de l'information

  • Total des messages de ce sujet: 29 messages
  • Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 230 invités
  • Vous ne pouvez pas poster de nouveaux sujets
  • Vous ne pouvez pas répondre aux sujets
  • Vous ne pouvez pas éditer vos messages
  • Vous ne pouvez pas supprimer vos messages
  • Vous ne pouvez pas joindre des fichiers
 
 

© 2011 Unmelted, LLC. Ozzu® est une marque déposée de Unmelted, LLC