<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[PennyLounge - Free Get Paid To Software - All Forums]]></title>
		<link>http://www.pennylounge.com/</link>
		<description><![CDATA[PennyLounge - Free Get Paid To Software - http://www.pennylounge.com]]></description>
		<pubDate>Wed, 22 Feb 2012 18:18:05 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Simple design]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=353</link>
			<pubDate>Tue, 21 Feb 2012 16:55:10 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=353</guid>
			<description><![CDATA[Design for your Pennylounge script<br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/image.gif" border="0" alt=".png" />&nbsp;&nbsp;<a href="attachment.php?aid=15" target="_blank">design1.png</a> (Size: 199.87 KB / Downloads: 8)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Design for your Pennylounge script<br /><!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/image.gif" border="0" alt=".png" />&nbsp;&nbsp;<a href="attachment.php?aid=15" target="_blank">design1.png</a> (Size: 199.87 KB / Downloads: 8)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Website Configs/Shoutbox Not Showed Up]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=352</link>
			<pubDate>Sat, 18 Feb 2012 18:12:24 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=352</guid>
			<description><![CDATA[Hii.. I just installed PennyLounge v1.4, and when i access admin panel, i want to edit my site configs.. After i click "Website Configs", there is nothing to show.. <img src="images/smilies/confused.gif" style="vertical-align: middle;" border="0" alt="Confused" title="Confused" /><br />
<br />
This is the ss<br />
<!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/image.gif" border="0" alt=".jpg" />&nbsp;&nbsp;<a href="attachment.php?aid=14" target="_blank">Error.JPG</a> (Size: 42.59 KB / Downloads: 5)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hii.. I just installed PennyLounge v1.4, and when i access admin panel, i want to edit my site configs.. After i click "Website Configs", there is nothing to show.. <img src="images/smilies/confused.gif" style="vertical-align: middle;" border="0" alt="Confused" title="Confused" /><br />
<br />
This is the ss<br />
<!-- start: postbit_attachments_attachment -->
<br /><img src="images/attachtypes/image.gif" border="0" alt=".jpg" />&nbsp;&nbsp;<a href="attachment.php?aid=14" target="_blank">Error.JPG</a> (Size: 42.59 KB / Downloads: 5)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[PennyLounge v1.5]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=350</link>
			<pubDate>Tue, 14 Feb 2012 19:19:40 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=350</guid>
			<description><![CDATA[Hey, will tell you what should you wait from pennylounge v1.5<br />
<br />
Main effort bill be based on additional page creation via admin panel.<br />
I will remove pages like how.php and rules.php which contain some basic information.<br />
You will be able to create them via admin panel. Edit them via admin panel and if you don't need them then delete them via admin panel.<br />
There will be option to activate the page and enable the link in menu bar. If you will choose to active it but will not gonna want to display it in menu bar then it still gonna be available via link.<br />
<br />
I will also include all bug fixes that have been posted here. But as i said above, main effort bill be pushed onto additional page creation.<br />
<br />
How do you think? Is it worth to do something like that?]]></description>
			<content:encoded><![CDATA[Hey, will tell you what should you wait from pennylounge v1.5<br />
<br />
Main effort bill be based on additional page creation via admin panel.<br />
I will remove pages like how.php and rules.php which contain some basic information.<br />
You will be able to create them via admin panel. Edit them via admin panel and if you don't need them then delete them via admin panel.<br />
There will be option to activate the page and enable the link in menu bar. If you will choose to active it but will not gonna want to display it in menu bar then it still gonna be available via link.<br />
<br />
I will also include all bug fixes that have been posted here. But as i said above, main effort bill be pushed onto additional page creation.<br />
<br />
How do you think? Is it worth to do something like that?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Username MySQL Help [SOLVED]]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=349</link>
			<pubDate>Tue, 14 Feb 2012 17:13:30 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=349</guid>
			<description><![CDATA[Hello, I am trying to create a MySQL query to insert a message into my Shoutbox table when a user joins<br />
<br />
mysql_query("INSERT INTO Shoutbox <br />
(timestamp, name, text) VALUES('&#36;fld_timestamp', 'GPTUniverse Bot', 'Welcome {&#36;userinfo['username']} To Our Site!' ) ") <br />
or die(mysql_error()); <br />
<br />
I have added this code to register.php and its all working fine APPART from the username!!! - When a new member joins, it posts: Welcome To Our Site    - instead of:  Welcome USERNAME To Our Site!<br />
<br />
Please could someone tell me what code to use to display the username: I thought it was this: {&#36;userinfo['username']} But it doesnt seem to work.<br />
<br />
Thanks<hr />
SOLVED!!!<br />
<br />
This code works: mysql_query("INSERT INTO Shoutbox <br />
(timestamp, name, text) VALUES('&#36;fld_timestamp', 'GPTUniverse Bot', 'Welcome {&#36;_POST['username']} To Our Site!' ) ") <br />
or die(mysql_error());]]></description>
			<content:encoded><![CDATA[Hello, I am trying to create a MySQL query to insert a message into my Shoutbox table when a user joins<br />
<br />
mysql_query("INSERT INTO Shoutbox <br />
(timestamp, name, text) VALUES('&#36;fld_timestamp', 'GPTUniverse Bot', 'Welcome {&#36;userinfo['username']} To Our Site!' ) ") <br />
or die(mysql_error()); <br />
<br />
I have added this code to register.php and its all working fine APPART from the username!!! - When a new member joins, it posts: Welcome To Our Site    - instead of:  Welcome USERNAME To Our Site!<br />
<br />
Please could someone tell me what code to use to display the username: I thought it was this: {&#36;userinfo['username']} But it doesnt seem to work.<br />
<br />
Thanks<hr />
SOLVED!!!<br />
<br />
This code works: mysql_query("INSERT INTO Shoutbox <br />
(timestamp, name, text) VALUES('&#36;fld_timestamp', 'GPTUniverse Bot', 'Welcome {&#36;_POST['username']} To Our Site!' ) ") <br />
or die(mysql_error());]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[jean3799]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=347</link>
			<pubDate>Mon, 13 Feb 2012 23:06:22 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=347</guid>
			<description><![CDATA[Hi all,<br />
I think that everybody knows jean3799 here.<br />
He is also registered on TBN - TheBotNet<br />
He is spamming his own script on there: <a href="http://www.publishCPA.com" target="_blank">http://www.publishCPA.com</a><br />
<br />
I do believe that there are many features from this script. As i don't see any other reason to ask for any addons or mods for this script and then make "own" script and charge &#36;14 every month for script which can actually be downloaded for free.<br />
<br />
I banned him from this forum.<br />
Please let me know if you see this script somewhere else so i can ban users from this forum or take out the files from the internet. Then more fraud we will have and then more people will re-distribute this script without giving the credits to pennylounge then more chance there is that this website will shut down.<br />
<br />
Hopefully you all understand me.<br />
<br />
Thank you,<br />
WinDrop]]></description>
			<content:encoded><![CDATA[Hi all,<br />
I think that everybody knows jean3799 here.<br />
He is also registered on TBN - TheBotNet<br />
He is spamming his own script on there: <a href="http://www.publishCPA.com" target="_blank">http://www.publishCPA.com</a><br />
<br />
I do believe that there are many features from this script. As i don't see any other reason to ask for any addons or mods for this script and then make "own" script and charge &#36;14 every month for script which can actually be downloaded for free.<br />
<br />
I banned him from this forum.<br />
Please let me know if you see this script somewhere else so i can ban users from this forum or take out the files from the internet. Then more fraud we will have and then more people will re-distribute this script without giving the credits to pennylounge then more chance there is that this website will shut down.<br />
<br />
Hopefully you all understand me.<br />
<br />
Thank you,<br />
WinDrop]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[( help with MYsql solved ) need help with email confirmation]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=346</link>
			<pubDate>Mon, 13 Feb 2012 14:25:16 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=346</guid>
			<description><![CDATA[heeey guys im truying to upload the gps 1.5.1 so i try to run this code<br />
<blockquote><cite>Quote:</cite>SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";<br />
<br />
<br />
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;<br />
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;<br />
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;<br />
/*!40101 SET NAMES utf8 */;<br />
<br />
CREATE TABLE IF NOT EXISTS `banned` (<br />
  `ip_addr` varchar(15) NOT NULL default '',<br />
  `reason` varchar(255) NOT NULL default ''<br />
) ENGINE=MyISAM DEFAULT CHARSET=latin1;<br />
<br />
CREATE TABLE IF NOT EXISTS `cashouts` (<br />
  `id` int(11) NOT NULL auto_increment,<br />
  `user_id` int(11) NOT NULL default '0',<br />
  `type` text NOT NULL,<br />
  `amount` decimal(11,2) NOT NULL default '0.00',<br />
  `status` int(11) NOT NULL default '0' COMMENT '0=pending, 1=approved, 2=denied',<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;<br />
<br />
CREATE TABLE IF NOT EXISTS `completed` (<br />
  `id` int(11) NOT NULL auto_increment,<br />
  `offer_id` int(11) NOT NULL default '0',<br />
  `user_id` int(11) NOT NULL default '0',<br />
  `date_submitted` text NOT NULL,<br />
  `reward` decimal(11,2) NOT NULL default '0.00',<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=141 ;<br />
<br />
CREATE TABLE IF NOT EXISTS `offers` (<br />
  `id` int(11) NOT NULL AUTO_INCREMENT,<br />
  `name` varchar(500) NOT NULL DEFAULT '',<br />
  `url` varchar(255) NOT NULL DEFAULT '',<br />
  `reward` decimal(11,2) NOT NULL DEFAULT '0.00',<br />
  `type` varchar(25) NOT NULL DEFAULT '0',<br />
  `visits` int(11) NOT NULL DEFAULT '0',<br />
  `active` int(11) NOT NULL DEFAULT '0',<br />
  `info` text NOT NULL,<br />
  `country` text NOT NULL,<br />
  PRIMARY KEY (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=417 ;<br />
<br />
INSERT INTO `offers` (`id`, `name`, `url`, `reward`, `type`, `visits`, `active`, `info`, `country`) VALUES<br />
(411, 'Google Page', 'http://www.google.com', 0.20, '2', 0, 1, 'Just a test offer', '');<br />
<br />
CREATE TABLE IF NOT EXISTS `offer_types` (<br />
  `id` int(255) NOT NULL auto_increment,<br />
  `type` varchar(255) NOT NULL,<br />
  `active` int(1) NOT NULL,<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;<br />
<br />
INSERT INTO `offer_types` (`id`, `type`, `active`) VALUES<br />
(2, 'Freebies', 1);<br />
<br />
CREATE TABLE IF NOT EXISTS `pending` (<br />
  `id` int(255) NOT NULL auto_increment,<br />
  `offer_id` int(255) NOT NULL,<br />
  `user_id` int(255) NOT NULL,<br />
  `date_submitted` varchar(255) NOT NULL,<br />
  `reward` decimal(11,2) NOT NULL,<br />
  `status` int(1) NOT NULL,<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=22 ;<br />
<br />
CREATE TABLE IF NOT EXISTS `users` (<br />
  `id` int(11) NOT NULL auto_increment,<br />
  `username` varchar(255) NOT NULL default '',<br />
  `userpass` varchar(255) NOT NULL default '',<br />
  `admin` int(11) NOT NULL default '0',<br />
  `email` varchar(255) NOT NULL default '',<br />
  `email_check` varchar(255) NOT NULL default '',<br />
  `email_verified` int(11) NOT NULL default '0',<br />
  `paypal` varchar(255) NOT NULL default '',<br />
  `alertpay` varchar(255) NOT NULL,<br />
  `country` varchar(255) NOT NULL default '',<br />
  `userIP` varchar(255) NOT NULL default '',<br />
  `signupIP` varchar(255) NOT NULL default '',<br />
  `signedup` varchar(255) NOT NULL default '',<br />
  `total_earned` decimal(11,2) NOT NULL default '0.00',<br />
  `current_balance` decimal(11,2) NOT NULL default '0.00',<br />
  `lastcashout` varchar(255) NOT NULL default '0',<br />
  `referrals` int(11) NOT NULL default '0',<br />
  `referrer` varchar(255) NOT NULL default '',<br />
  `banned` varchar(255) NOT NULL default '',<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=165 ;<br />
<br />
INSERT INTO `users` (`id`, `username`, `userpass`, `admin`, `email`, `email_check`, `email_verified`, `paypal`, `alertpay`, `country`, `userIP`, `signupIP`, `signedup`, `total_earned`, `current_balance`, `lastcashout`, `referrals`, `referrer`, `banned`) VALUES<br />
(165, 'admin', '25e4ee4e9229397b6b17776bfceaf8e7', 1, 'admin@website.com', '', 1, 'admin@website.com', 'admin@website.com', '', '', '', '', 100.00, 100.00, '0', 0, '', '');</blockquote>
<br />
i get error 1046 no database selected then i put this code instead<br />
<br />
<blockquote><cite>Quote:</cite>SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";<br />
<br />
<br />
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;<br />
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;<br />
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;<br />
/*!40101 SET NAMES utf8 */;<br />
<span style="text-decoration: underline;">USE database_name;</span><br />
<br />
CREATE TABLE IF NOT EXISTS `banned` (<br />
  `ip_addr` varchar(15) NOT NULL default '',<br />
  `reason` varchar(255) NOT NULL default ''<br />
) ENGINE=MyISAM DEFAULT CHARSET=latin1;<br />
<br />
CREATE TABLE IF NOT EXISTS `cashouts` (<br />
  `id` int(11) NOT NULL auto_increment,<br />
  `user_id` int(11) NOT NULL default '0',<br />
  `type` text NOT NULL,<br />
  `amount` decimal(11,2) NOT NULL default '0.00',<br />
  `status` int(11) NOT NULL default '0' COMMENT '0=pending, 1=approved, 2=denied',<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;<br />
<br />
CREATE TABLE IF NOT EXISTS `completed` (<br />
  `id` int(11) NOT NULL auto_increment,<br />
  `offer_id` int(11) NOT NULL default '0',<br />
  `user_id` int(11) NOT NULL default '0',<br />
  `date_submitted` text NOT NULL,<br />
  `reward` decimal(11,2) NOT NULL default '0.00',<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=141 ;<br />
<br />
CREATE TABLE IF NOT EXISTS `offers` (<br />
  `id` int(11) NOT NULL AUTO_INCREMENT,<br />
  `name` varchar(500) NOT NULL DEFAULT '',<br />
  `url` varchar(255) NOT NULL DEFAULT '',<br />
  `reward` decimal(11,2) NOT NULL DEFAULT '0.00',<br />
  `type` varchar(25) NOT NULL DEFAULT '0',<br />
  `visits` int(11) NOT NULL DEFAULT '0',<br />
  `active` int(11) NOT NULL DEFAULT '0',<br />
  `info` text NOT NULL,<br />
  `country` text NOT NULL,<br />
  PRIMARY KEY (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=417 ;<br />
<br />
INSERT INTO `offers` (`id`, `name`, `url`, `reward`, `type`, `visits`, `active`, `info`, `country`) VALUES<br />
(411, 'Google Page', 'http://www.google.com', 0.20, '2', 0, 1, 'Just a test offer', '');<br />
<br />
CREATE TABLE IF NOT EXISTS `offer_types` (<br />
  `id` int(255) NOT NULL auto_increment,<br />
  `type` varchar(255) NOT NULL,<br />
  `active` int(1) NOT NULL,<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;<br />
<br />
INSERT INTO `offer_types` (`id`, `type`, `active`) VALUES<br />
(2, 'Freebies', 1);<br />
<br />
CREATE TABLE IF NOT EXISTS `pending` (<br />
  `id` int(255) NOT NULL auto_increment,<br />
  `offer_id` int(255) NOT NULL,<br />
  `user_id` int(255) NOT NULL,<br />
  `date_submitted` varchar(255) NOT NULL,<br />
  `reward` decimal(11,2) NOT NULL,<br />
  `status` int(1) NOT NULL,<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=22 ;<br />
<br />
CREATE TABLE IF NOT EXISTS `users` (<br />
  `id` int(11) NOT NULL auto_increment,<br />
  `username` varchar(255) NOT NULL default '',<br />
  `userpass` varchar(255) NOT NULL default '',<br />
  `admin` int(11) NOT NULL default '0',<br />
  `email` varchar(255) NOT NULL default '',<br />
  `email_check` varchar(255) NOT NULL default '',<br />
  `email_verified` int(11) NOT NULL default '0',<br />
  `paypal` varchar(255) NOT NULL default '',<br />
  `alertpay` varchar(255) NOT NULL,<br />
  `country` varchar(255) NOT NULL default '',<br />
  `userIP` varchar(255) NOT NULL default '',<br />
  `signupIP` varchar(255) NOT NULL default '',<br />
  `signedup` varchar(255) NOT NULL default '',<br />
  `total_earned` decimal(11,2) NOT NULL default '0.00',<br />
  `current_balance` decimal(11,2) NOT NULL default '0.00',<br />
  `lastcashout` varchar(255) NOT NULL default '0',<br />
  `referrals` int(11) NOT NULL default '0',<br />
  `referrer` varchar(255) NOT NULL default '',<br />
  `banned` varchar(255) NOT NULL default '',<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=165 ;<br />
<br />
INSERT INTO `users` (`id`, `username`, `userpass`, `admin`, `email`, `email_check`, `email_verified`, `paypal`, `alertpay`, `country`, `userIP`, `signupIP`, `signedup`, `total_earned`, `current_balance`, `lastcashout`, `referrals`, `referrer`, `banned`) VALUES<br />
(165, 'admin', '25e4ee4e9229397b6b17776bfceaf8e7', 1, 'admin@website.com', '', 1, 'admin@website.com', 'admin@website.com', '', '', '', '', 100.00, 100.00, '0', 0, '', '');</blockquote>
<br />
then i get unknow database can u plz help me out guys]]></description>
			<content:encoded><![CDATA[heeey guys im truying to upload the gps 1.5.1 so i try to run this code<br />
<blockquote><cite>Quote:</cite>SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";<br />
<br />
<br />
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;<br />
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;<br />
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;<br />
/*!40101 SET NAMES utf8 */;<br />
<br />
CREATE TABLE IF NOT EXISTS `banned` (<br />
  `ip_addr` varchar(15) NOT NULL default '',<br />
  `reason` varchar(255) NOT NULL default ''<br />
) ENGINE=MyISAM DEFAULT CHARSET=latin1;<br />
<br />
CREATE TABLE IF NOT EXISTS `cashouts` (<br />
  `id` int(11) NOT NULL auto_increment,<br />
  `user_id` int(11) NOT NULL default '0',<br />
  `type` text NOT NULL,<br />
  `amount` decimal(11,2) NOT NULL default '0.00',<br />
  `status` int(11) NOT NULL default '0' COMMENT '0=pending, 1=approved, 2=denied',<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;<br />
<br />
CREATE TABLE IF NOT EXISTS `completed` (<br />
  `id` int(11) NOT NULL auto_increment,<br />
  `offer_id` int(11) NOT NULL default '0',<br />
  `user_id` int(11) NOT NULL default '0',<br />
  `date_submitted` text NOT NULL,<br />
  `reward` decimal(11,2) NOT NULL default '0.00',<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=141 ;<br />
<br />
CREATE TABLE IF NOT EXISTS `offers` (<br />
  `id` int(11) NOT NULL AUTO_INCREMENT,<br />
  `name` varchar(500) NOT NULL DEFAULT '',<br />
  `url` varchar(255) NOT NULL DEFAULT '',<br />
  `reward` decimal(11,2) NOT NULL DEFAULT '0.00',<br />
  `type` varchar(25) NOT NULL DEFAULT '0',<br />
  `visits` int(11) NOT NULL DEFAULT '0',<br />
  `active` int(11) NOT NULL DEFAULT '0',<br />
  `info` text NOT NULL,<br />
  `country` text NOT NULL,<br />
  PRIMARY KEY (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=417 ;<br />
<br />
INSERT INTO `offers` (`id`, `name`, `url`, `reward`, `type`, `visits`, `active`, `info`, `country`) VALUES<br />
(411, 'Google Page', 'http://www.google.com', 0.20, '2', 0, 1, 'Just a test offer', '');<br />
<br />
CREATE TABLE IF NOT EXISTS `offer_types` (<br />
  `id` int(255) NOT NULL auto_increment,<br />
  `type` varchar(255) NOT NULL,<br />
  `active` int(1) NOT NULL,<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;<br />
<br />
INSERT INTO `offer_types` (`id`, `type`, `active`) VALUES<br />
(2, 'Freebies', 1);<br />
<br />
CREATE TABLE IF NOT EXISTS `pending` (<br />
  `id` int(255) NOT NULL auto_increment,<br />
  `offer_id` int(255) NOT NULL,<br />
  `user_id` int(255) NOT NULL,<br />
  `date_submitted` varchar(255) NOT NULL,<br />
  `reward` decimal(11,2) NOT NULL,<br />
  `status` int(1) NOT NULL,<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=22 ;<br />
<br />
CREATE TABLE IF NOT EXISTS `users` (<br />
  `id` int(11) NOT NULL auto_increment,<br />
  `username` varchar(255) NOT NULL default '',<br />
  `userpass` varchar(255) NOT NULL default '',<br />
  `admin` int(11) NOT NULL default '0',<br />
  `email` varchar(255) NOT NULL default '',<br />
  `email_check` varchar(255) NOT NULL default '',<br />
  `email_verified` int(11) NOT NULL default '0',<br />
  `paypal` varchar(255) NOT NULL default '',<br />
  `alertpay` varchar(255) NOT NULL,<br />
  `country` varchar(255) NOT NULL default '',<br />
  `userIP` varchar(255) NOT NULL default '',<br />
  `signupIP` varchar(255) NOT NULL default '',<br />
  `signedup` varchar(255) NOT NULL default '',<br />
  `total_earned` decimal(11,2) NOT NULL default '0.00',<br />
  `current_balance` decimal(11,2) NOT NULL default '0.00',<br />
  `lastcashout` varchar(255) NOT NULL default '0',<br />
  `referrals` int(11) NOT NULL default '0',<br />
  `referrer` varchar(255) NOT NULL default '',<br />
  `banned` varchar(255) NOT NULL default '',<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=165 ;<br />
<br />
INSERT INTO `users` (`id`, `username`, `userpass`, `admin`, `email`, `email_check`, `email_verified`, `paypal`, `alertpay`, `country`, `userIP`, `signupIP`, `signedup`, `total_earned`, `current_balance`, `lastcashout`, `referrals`, `referrer`, `banned`) VALUES<br />
(165, 'admin', '25e4ee4e9229397b6b17776bfceaf8e7', 1, 'admin@website.com', '', 1, 'admin@website.com', 'admin@website.com', '', '', '', '', 100.00, 100.00, '0', 0, '', '');</blockquote>
<br />
i get error 1046 no database selected then i put this code instead<br />
<br />
<blockquote><cite>Quote:</cite>SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";<br />
<br />
<br />
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;<br />
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;<br />
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;<br />
/*!40101 SET NAMES utf8 */;<br />
<span style="text-decoration: underline;">USE database_name;</span><br />
<br />
CREATE TABLE IF NOT EXISTS `banned` (<br />
  `ip_addr` varchar(15) NOT NULL default '',<br />
  `reason` varchar(255) NOT NULL default ''<br />
) ENGINE=MyISAM DEFAULT CHARSET=latin1;<br />
<br />
CREATE TABLE IF NOT EXISTS `cashouts` (<br />
  `id` int(11) NOT NULL auto_increment,<br />
  `user_id` int(11) NOT NULL default '0',<br />
  `type` text NOT NULL,<br />
  `amount` decimal(11,2) NOT NULL default '0.00',<br />
  `status` int(11) NOT NULL default '0' COMMENT '0=pending, 1=approved, 2=denied',<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=14 ;<br />
<br />
CREATE TABLE IF NOT EXISTS `completed` (<br />
  `id` int(11) NOT NULL auto_increment,<br />
  `offer_id` int(11) NOT NULL default '0',<br />
  `user_id` int(11) NOT NULL default '0',<br />
  `date_submitted` text NOT NULL,<br />
  `reward` decimal(11,2) NOT NULL default '0.00',<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=141 ;<br />
<br />
CREATE TABLE IF NOT EXISTS `offers` (<br />
  `id` int(11) NOT NULL AUTO_INCREMENT,<br />
  `name` varchar(500) NOT NULL DEFAULT '',<br />
  `url` varchar(255) NOT NULL DEFAULT '',<br />
  `reward` decimal(11,2) NOT NULL DEFAULT '0.00',<br />
  `type` varchar(25) NOT NULL DEFAULT '0',<br />
  `visits` int(11) NOT NULL DEFAULT '0',<br />
  `active` int(11) NOT NULL DEFAULT '0',<br />
  `info` text NOT NULL,<br />
  `country` text NOT NULL,<br />
  PRIMARY KEY (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=417 ;<br />
<br />
INSERT INTO `offers` (`id`, `name`, `url`, `reward`, `type`, `visits`, `active`, `info`, `country`) VALUES<br />
(411, 'Google Page', 'http://www.google.com', 0.20, '2', 0, 1, 'Just a test offer', '');<br />
<br />
CREATE TABLE IF NOT EXISTS `offer_types` (<br />
  `id` int(255) NOT NULL auto_increment,<br />
  `type` varchar(255) NOT NULL,<br />
  `active` int(1) NOT NULL,<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;<br />
<br />
INSERT INTO `offer_types` (`id`, `type`, `active`) VALUES<br />
(2, 'Freebies', 1);<br />
<br />
CREATE TABLE IF NOT EXISTS `pending` (<br />
  `id` int(255) NOT NULL auto_increment,<br />
  `offer_id` int(255) NOT NULL,<br />
  `user_id` int(255) NOT NULL,<br />
  `date_submitted` varchar(255) NOT NULL,<br />
  `reward` decimal(11,2) NOT NULL,<br />
  `status` int(1) NOT NULL,<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=22 ;<br />
<br />
CREATE TABLE IF NOT EXISTS `users` (<br />
  `id` int(11) NOT NULL auto_increment,<br />
  `username` varchar(255) NOT NULL default '',<br />
  `userpass` varchar(255) NOT NULL default '',<br />
  `admin` int(11) NOT NULL default '0',<br />
  `email` varchar(255) NOT NULL default '',<br />
  `email_check` varchar(255) NOT NULL default '',<br />
  `email_verified` int(11) NOT NULL default '0',<br />
  `paypal` varchar(255) NOT NULL default '',<br />
  `alertpay` varchar(255) NOT NULL,<br />
  `country` varchar(255) NOT NULL default '',<br />
  `userIP` varchar(255) NOT NULL default '',<br />
  `signupIP` varchar(255) NOT NULL default '',<br />
  `signedup` varchar(255) NOT NULL default '',<br />
  `total_earned` decimal(11,2) NOT NULL default '0.00',<br />
  `current_balance` decimal(11,2) NOT NULL default '0.00',<br />
  `lastcashout` varchar(255) NOT NULL default '0',<br />
  `referrals` int(11) NOT NULL default '0',<br />
  `referrer` varchar(255) NOT NULL default '',<br />
  `banned` varchar(255) NOT NULL default '',<br />
  PRIMARY KEY  (`id`)<br />
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=165 ;<br />
<br />
INSERT INTO `users` (`id`, `username`, `userpass`, `admin`, `email`, `email_check`, `email_verified`, `paypal`, `alertpay`, `country`, `userIP`, `signupIP`, `signedup`, `total_earned`, `current_balance`, `lastcashout`, `referrals`, `referrer`, `banned`) VALUES<br />
(165, 'admin', '25e4ee4e9229397b6b17776bfceaf8e7', 1, 'admin@website.com', '', 1, 'admin@website.com', 'admin@website.com', '', '', '', '', 100.00, 100.00, '0', 0, '', '');</blockquote>
<br />
then i get unknow database can u plz help me out guys]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[email name SOLVED]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=345</link>
			<pubDate>Sat, 11 Feb 2012 20:51:51 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=345</guid>
			<description><![CDATA[Hi what do I have to do for the verification email to show up as my sites name? It just says unknown. <img src="images/smilies/huh.gif" style="vertical-align: middle;" border="0" alt="Huh" title="Huh" />]]></description>
			<content:encoded><![CDATA[Hi what do I have to do for the verification email to show up as my sites name? It just says unknown. <img src="images/smilies/huh.gif" style="vertical-align: middle;" border="0" alt="Huh" title="Huh" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Ofers Page]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=344</link>
			<pubDate>Thu, 09 Feb 2012 17:51:24 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=344</guid>
			<description><![CDATA[Hi i just installed the script on my website but on the offers page i get this error<br />
<br />
Parse error: syntax error, unexpected T_STRING in /home/content/78/8904378/html/offers.php on line 21]]></description>
			<content:encoded><![CDATA[Hi i just installed the script on my website but on the offers page i get this error<br />
<br />
Parse error: syntax error, unexpected T_STRING in /home/content/78/8904378/html/offers.php on line 21]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[script]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=343</link>
			<pubDate>Thu, 09 Feb 2012 17:24:38 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=343</guid>
			<description><![CDATA[Is there any instructions on how to install this script?]]></description>
			<content:encoded><![CDATA[Is there any instructions on how to install this script?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Happy Birthday Draco ]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=342</link>
			<pubDate>Tue, 07 Feb 2012 00:33:49 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=342</guid>
			<description><![CDATA[<img src="images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" /> happy birthday]]></description>
			<content:encoded><![CDATA[<img src="images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" /> happy birthday]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[intall error]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=341</link>
			<pubDate>Sat, 04 Feb 2012 13:55:03 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=341</guid>
			<description><![CDATA[Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/wonhealt/public_html/rangniu.com/mysql.php on line 10<br />
my site: <a href="http://www.rangniu.com" target="_blank">http://www.rangniu.com</a>, i intalled it today,but it seems have more problems.i re-upload many times.but the errors still there.could u help me .bro.thank u]]></description>
			<content:encoded><![CDATA[Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/wonhealt/public_html/rangniu.com/mysql.php on line 10<br />
my site: <a href="http://www.rangniu.com" target="_blank">http://www.rangniu.com</a>, i intalled it today,but it seems have more problems.i re-upload many times.but the errors still there.could u help me .bro.thank u]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[HELLP WITH OFFERS PAGE!!]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=340</link>
			<pubDate>Thu, 02 Feb 2012 02:11:17 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=340</guid>
			<description><![CDATA[Help me out here i just installed this script and now when i click the offers tab i see:<br />
<br />
Parse error: syntax error, unexpected T_STRING in /home/coolmysp/public_html/gpthouse.com/offers.php on line 21<br />
<br />
WTFFF SOMEBODY PLEASE TELL ME HOW TO FIX THIS, i cant even see the offers page.]]></description>
			<content:encoded><![CDATA[Help me out here i just installed this script and now when i click the offers tab i see:<br />
<br />
Parse error: syntax error, unexpected T_STRING in /home/coolmysp/public_html/gpthouse.com/offers.php on line 21<br />
<br />
WTFFF SOMEBODY PLEASE TELL ME HOW TO FIX THIS, i cant even see the offers page.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Looking]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=339</link>
			<pubDate>Thu, 02 Feb 2012 01:13:57 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=339</guid>
			<description><![CDATA[Looking for new design for my site. Nothing too fancy, I like the rounded look. Send me prices. Thanks<img src="images/smilies/smile.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" />]]></description>
			<content:encoded><![CDATA[Looking for new design for my site. Nothing too fancy, I like the rounded look. Send me prices. Thanks<img src="images/smilies/smile.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Help!! LOL]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=338</link>
			<pubDate>Wed, 01 Feb 2012 22:15:49 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=338</guid>
			<description><![CDATA[Access denied for user 'rewardzo_01'@'localhost' to database 'rewardzo_01'<br />
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rewardzo/public_html/mysql.php on line 9<br />
<br />
I uploaded all files and imported pennylounge.sql The above error is showing at top of site. I also can not find where to log in as admin? I will continue to search the forums for an answer will I wait for a reply Thanks]]></description>
			<content:encoded><![CDATA[Access denied for user 'rewardzo_01'@'localhost' to database 'rewardzo_01'<br />
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/rewardzo/public_html/mysql.php on line 9<br />
<br />
I uploaded all files and imported pennylounge.sql The above error is showing at top of site. I also can not find where to log in as admin? I will continue to search the forums for an answer will I wait for a reply Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[PennyLounge v1.4]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=337</link>
			<pubDate>Wed, 01 Feb 2012 22:03:41 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=337</guid>
			<description><![CDATA[Hi all.<br />
<br />
All of you probably though that this script will never get updates anymore. But here it is...version 1.4 of PennyLounge Script.<br />
<br />
I had some problems in my personal life so i didn't had any chance to do any coding at all. Now i'm back and will try to spend some time with this script to fix even more bugs and add even more functions into it.<br />
<br />
I will be honest to you, i really don't remember which files i did changed. <br />
I remember that i changed:<br />
admin/addoffer.php<br />
admin/configs.php<br />
offers.php<br />
SQL: SQL/updates/pennylounge_1.3_to1.4.sql<br />
SQL: SQL/updates/offer_fix.sql<br />
<br />
Then also i would re-upload all shoutbox folder, as i edited lots of files in there.<br />
<br />
And that's it...maybe i changed some other files as well, but i honestly don't remember. Starting from tomorrow i will start to make a proper ChangeLog for every version, so you people know which files you need to re-upload and what exactly have been changed.<br />
<br />
For people who bought mods of updates from me ( postback doesn't count ) Please reupload same files as i mentioned above, and after that PM me and i will help you out with SQL updates.<br />
For people who are updating the script don't have to run pennylounge.sql file which is in SQL folder. You have to run only update from 1.3 to 1.4.<br />
If you haven't applied SQL update from <a href="http://www.pennylounge.com/showthread.php?tid=329&amp;pid=1247#pid1247" target="_blank">This</a> thread then you have to run SQL/updates/offer_fix.sql Although if you done it already then just skip that file.<br />
<br />
<br />
People who just downloaded the script for the first time. You need to run pennylounge.sql and after that run all scripts in SQL/updates folder.<br />
<br />
If you have any question please don't hesitate to ask them in technical question thread and i will be glad to help you out.<br />
<br />
Download link: <a href="http://www.pennylounge.com/download.php" target="_blank">http://www.pennylounge.com/download.php</a><br />
<br />
As always you have to complete survey to keep this website alive <img src="images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="Wink" title="Wink" /><br />
<br />
Your feedback's are more then welcome in this thread.<br />
Thank you.]]></description>
			<content:encoded><![CDATA[Hi all.<br />
<br />
All of you probably though that this script will never get updates anymore. But here it is...version 1.4 of PennyLounge Script.<br />
<br />
I had some problems in my personal life so i didn't had any chance to do any coding at all. Now i'm back and will try to spend some time with this script to fix even more bugs and add even more functions into it.<br />
<br />
I will be honest to you, i really don't remember which files i did changed. <br />
I remember that i changed:<br />
admin/addoffer.php<br />
admin/configs.php<br />
offers.php<br />
SQL: SQL/updates/pennylounge_1.3_to1.4.sql<br />
SQL: SQL/updates/offer_fix.sql<br />
<br />
Then also i would re-upload all shoutbox folder, as i edited lots of files in there.<br />
<br />
And that's it...maybe i changed some other files as well, but i honestly don't remember. Starting from tomorrow i will start to make a proper ChangeLog for every version, so you people know which files you need to re-upload and what exactly have been changed.<br />
<br />
For people who bought mods of updates from me ( postback doesn't count ) Please reupload same files as i mentioned above, and after that PM me and i will help you out with SQL updates.<br />
For people who are updating the script don't have to run pennylounge.sql file which is in SQL folder. You have to run only update from 1.3 to 1.4.<br />
If you haven't applied SQL update from <a href="http://www.pennylounge.com/showthread.php?tid=329&amp;pid=1247#pid1247" target="_blank">This</a> thread then you have to run SQL/updates/offer_fix.sql Although if you done it already then just skip that file.<br />
<br />
<br />
People who just downloaded the script for the first time. You need to run pennylounge.sql and after that run all scripts in SQL/updates folder.<br />
<br />
If you have any question please don't hesitate to ask them in technical question thread and i will be glad to help you out.<br />
<br />
Download link: <a href="http://www.pennylounge.com/download.php" target="_blank">http://www.pennylounge.com/download.php</a><br />
<br />
As always you have to complete survey to keep this website alive <img src="images/smilies/wink.gif" style="vertical-align: middle;" border="0" alt="Wink" title="Wink" /><br />
<br />
Your feedback's are more then welcome in this thread.<br />
Thank you.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Report Offer Button]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=333</link>
			<pubDate>Tue, 31 Jan 2012 23:12:54 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=333</guid>
			<description><![CDATA[I know it's probably quite complicated but if you get a chance, please could you create an extra button to report offers as many of my members are having to email me at the moment and it's quite confusing for me! <img src="images/smilies/smile.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" /> Thanks Again!]]></description>
			<content:encoded><![CDATA[I know it's probably quite complicated but if you get a chance, please could you create an extra button to report offers as many of my members are having to email me at the moment and it's quite confusing for me! <img src="images/smilies/smile.gif" style="vertical-align: middle;" border="0" alt="Smile" title="Smile" /> Thanks Again!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Free Themes!]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=331</link>
			<pubDate>Mon, 30 Jan 2012 01:23:27 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=331</guid>
			<description><![CDATA[I really think we need more themes.<br />
The original theme is boring, and looks like a scam site.<br />
<br />
Anyways i really like pennylounge, keep it free, I LOVE IT <img src="images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" />]]></description>
			<content:encoded><![CDATA[I really think we need more themes.<br />
The original theme is boring, and looks like a scam site.<br />
<br />
Anyways i really like pennylounge, keep it free, I LOVE IT <img src="images/smilies/biggrin.gif" style="vertical-align: middle;" border="0" alt="Big Grin" title="Big Grin" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to fix the 'add offer' bug.]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=329</link>
			<pubDate>Sun, 29 Jan 2012 20:51:03 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=329</guid>
			<description><![CDATA[Go to your addoffer.php in the admin folder.<br />
<br />
Here is the code.<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">&#36;_GET</span><span style="color: #007700">[</span><span style="color: #DD0000">'do'</span><span style="color: #007700">]&nbsp;==&nbsp;</span><span style="color: #DD0000">"addoffer"</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">&#36;_POST</span><span style="color: #007700">[</span><span style="color: #DD0000">'subm'</span><span style="color: #007700">])&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mysql_query</span><span style="color: #007700">(</span><span style="color: #DD0000">"insert&nbsp;into&nbsp;offers&nbsp;values('','{&#36;_POST['cid']}','{&#36;_POST['affid']}','{&#36;_POST['name']}',&nbsp;'{&#36;_POST['url']}',&nbsp;'{&#36;_POST['reward']}',&nbsp;'{&#36;_POST['type']}',&nbsp;'',&nbsp;<br />'{&#36;_POST['active']}','{&#36;_POST['info']}','{&#36;_POST['country']}')"</span><span style="color: #007700">)&nbsp;or&nbsp;die(</span><span style="color: #0000BB">mysql_error</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;center&gt;&lt;b&gt;{&#36;_POST['name']}&nbsp;has&nbsp;been&nbsp;added.&lt;/b&gt;&lt;/center&gt;"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;table&nbsp;width=90%&gt;<br />&lt;tr&gt;&lt;th&nbsp;colspan=2&gt;Adding&nbsp;New&nbsp;Offer&lt;/th&gt;&lt;/tr&gt;<br />&lt;tr&gt;&lt;td&gt;<br />&lt;form&nbsp;action=?do=addoffer&nbsp;method=post&gt;&lt;input&nbsp;type=hidden&nbsp;name=subm&nbsp;value=1&gt;<br />Requirements/Description:&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=info&gt;&lt;br&gt;<br />Name:&nbsp;&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=name&gt;&lt;br&gt;<br />Campaign&nbsp;ID:&nbsp;&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=cid&gt;&lt;br&gt;<br />Affiliate&nbsp;Code:&nbsp;&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=affid&gt;&lt;br&gt;<br />URL:&nbsp;&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=url&gt;&nbsp;&lt;font&nbsp;size=1&nbsp;color=red&gt;no&nbsp;trailing&nbsp;/&nbsp;!!!!!!&lt;/font&gt;&lt;br&gt;<br />Reward:&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=reward&gt;&lt;br&gt;<br />&lt;br&gt;<br />Country:&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=country&gt;&lt;br&gt;<br />Type:&lt;select&nbsp;name=type&gt;"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;gettypes&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"SELECT&nbsp;*&nbsp;FROM&nbsp;offer_types&nbsp;WHERE&nbsp;active=1"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;types&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_query</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;gettypes</span><span style="color: #007700">)&nbsp;or&nbsp;die(</span><span style="color: #0000BB">mysql_error</span><span style="color: #007700">());&nbsp;<br />if&nbsp;(</span><span style="color: #0000BB">mysql_num_rows</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;types</span><span style="color: #007700">)==</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;option&nbsp;value=1&nbsp;selected&gt;Freebies&lt;/option&gt;"</span><span style="color: #007700">;<br />}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;(</span><span style="color: #0000BB">&#36;type&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_fetch_array</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;types</span><span style="color: #007700">))&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;option&nbsp;value='"</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;type</span><span style="color: #007700">[</span><span style="color: #DD0000">'id'</span><span style="color: #007700">].</span><span style="color: #DD0000">"'&gt;"</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;type</span><span style="color: #007700">[</span><span style="color: #DD0000">'type'</span><span style="color: #007700">].</span><span style="color: #DD0000">"&lt;/option&gt;"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br />print&nbsp;</span><span style="color: #DD0000">"<br />&lt;/select&gt;&lt;br&gt;<br />Active:&nbsp;&lt;select&nbsp;name=active&gt;&lt;option&nbsp;value=1&nbsp;selected&gt;Yes&lt;/option&gt;&lt;option&nbsp;<br />value=0&gt;No&lt;/option&gt;&lt;/select&gt;&lt;br&gt;&lt;br&gt;<br />&lt;input&nbsp;type=submit&nbsp;class=button&nbsp;value=&#092;"Add&nbsp;Offer&#092;"&gt;&lt;/form&gt;<br />&lt;/td&gt;<br />&lt;/tr&gt;&lt;/table&gt;<br />Hint:&nbsp;To&nbsp;Add&nbsp;Username&nbsp;in&nbsp;the&nbsp;link&nbsp;please&nbsp;use&nbsp;[USERNAME].&nbsp;For&nbsp;example&nbsp;http://www.google.com/[USERNAME]&nbsp;will&nbsp;look&nbsp;like&nbsp;http://www.google.com/Admin&nbsp;if&nbsp;you&nbsp;are&nbsp;logged&nbsp;in&nbsp;as&nbsp;Admin.<br />"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">admin_wrong_file</span><span style="color: #007700">();<br />}<br /><br /></span><span style="color: #0000BB">?&gt;</span></code></div></div></div>
<br />
replace with <br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">&#36;_GET</span><span style="color: #007700">[</span><span style="color: #DD0000">'do'</span><span style="color: #007700">]&nbsp;==&nbsp;</span><span style="color: #DD0000">"addoffer"</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">&#36;_POST</span><span style="color: #007700">[</span><span style="color: #DD0000">'subm'</span><span style="color: #007700">])&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mysql_query</span><span style="color: #007700">(</span><span style="color: #DD0000">"insert&nbsp;into&nbsp;offers&nbsp;values('','{&#36;_POST['name']}',&nbsp;'{&#36;_POST['url']}',&nbsp;'{&#36;_POST['reward']}',&nbsp;'{&#36;_POST['type']}',&nbsp;'',&nbsp;<br />'{&#36;_POST['active']}','{&#36;_POST['info']}','{&#36;_POST['country']}')"</span><span style="color: #007700">)&nbsp;or&nbsp;die(</span><span style="color: #0000BB">mysql_error</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;center&gt;&lt;b&gt;{&#36;_POST['name']}&nbsp;has&nbsp;been&nbsp;added.&lt;/b&gt;&lt;/center&gt;"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;table&nbsp;width=90%&gt;<br />&lt;tr&gt;&lt;th&nbsp;colspan=2&gt;Adding&nbsp;New&nbsp;Offer&lt;/th&gt;&lt;/tr&gt;<br />&lt;tr&gt;&lt;td&gt;<br />&lt;form&nbsp;action=?do=addoffer&nbsp;method=post&gt;&lt;input&nbsp;type=hidden&nbsp;name=subm&nbsp;value=1&gt;<br />Requirements/Description:&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=info&gt;&lt;br&gt;<br />Name:&nbsp;&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=name&gt;&lt;br&gt;<br />URL:&nbsp;&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=url&gt;&nbsp;&lt;font&nbsp;size=1&nbsp;color=red&gt;no&nbsp;trailing&nbsp;/&nbsp;!!!!!!&lt;/font&gt;&lt;br&gt;<br />Reward:&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=reward&gt;&lt;br&gt;<br />&lt;br&gt;<br />Country:&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=country&gt;&lt;br&gt;<br />Type:&lt;select&nbsp;name=type&gt;"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;gettypes&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"SELECT&nbsp;*&nbsp;FROM&nbsp;offer_types&nbsp;WHERE&nbsp;active=1"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;types&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_query</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;gettypes</span><span style="color: #007700">)&nbsp;or&nbsp;die(</span><span style="color: #0000BB">mysql_error</span><span style="color: #007700">());&nbsp;<br />if&nbsp;(</span><span style="color: #0000BB">mysql_num_rows</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;types</span><span style="color: #007700">)==</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;option&nbsp;value=1&nbsp;selected&gt;Freebies&lt;/option&gt;"</span><span style="color: #007700">;<br />}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;(</span><span style="color: #0000BB">&#36;type&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_fetch_array</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;types</span><span style="color: #007700">))&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;option&nbsp;value='"</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;type</span><span style="color: #007700">[</span><span style="color: #DD0000">'id'</span><span style="color: #007700">].</span><span style="color: #DD0000">"'&gt;"</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;type</span><span style="color: #007700">[</span><span style="color: #DD0000">'type'</span><span style="color: #007700">].</span><span style="color: #DD0000">"&lt;/option&gt;"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br />print&nbsp;</span><span style="color: #DD0000">"<br />&lt;/select&gt;&lt;br&gt;<br />Active:&nbsp;&lt;select&nbsp;name=active&gt;&lt;option&nbsp;value=1&nbsp;selected&gt;Yes&lt;/option&gt;&lt;option&nbsp;<br />value=0&gt;No&lt;/option&gt;&lt;/select&gt;&lt;br&gt;&lt;br&gt;<br />&lt;input&nbsp;type=submit&nbsp;class=button&nbsp;value=&#092;"Add&nbsp;Offer&#092;"&gt;&lt;/form&gt;<br />&lt;/td&gt;<br />&lt;/tr&gt;&lt;/table&gt;<br />Hint:&nbsp;To&nbsp;Add&nbsp;Username&nbsp;in&nbsp;the&nbsp;link&nbsp;please&nbsp;use&nbsp;[USERNAME].&nbsp;For&nbsp;example&nbsp;http://www.google.com/[USERNAME]&nbsp;will&nbsp;look&nbsp;like&nbsp;http://www.google.com/Admin&nbsp;if&nbsp;you&nbsp;are&nbsp;logged&nbsp;in&nbsp;as&nbsp;Admin.<br />"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">admin_wrong_file</span><span style="color: #007700">();<br />}<br /><br /></span><span style="color: #0000BB">?&gt;</span></code></div></div></div>
<br />
I only took out<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #DD0000">'{&#36;_POST['</span><span style="color: #0000BB">cid</span><span style="color: #DD0000">']}'</span><span style="color: #007700">,</span><span style="color: #DD0000">'{&#36;_POST['</span><span style="color: #0000BB">affid</span><span style="color: #DD0000">']}'&nbsp;<br /></span></code></div></div></div>
 &amp;<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">Campaign&nbsp;ID</span><span style="color: #007700">:&nbsp;&lt;</span><span style="color: #0000BB">br</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #0000BB">text&nbsp;name</span><span style="color: #007700">=</span><span style="color: #0000BB">cid</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">br</span><span style="color: #007700">&gt;<br /></span><span style="color: #0000BB">Affiliate&nbsp;Code</span><span style="color: #007700">:&nbsp;&lt;</span><span style="color: #0000BB">br</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #0000BB">text&nbsp;name</span><span style="color: #007700">=</span><span style="color: #0000BB">affid</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">br</span><span style="color: #007700">&gt;&nbsp;<br /></span></code></div></div></div>
because it's not really inserting nothing because campaign id and the affiliate id is not in the table. This is mainly for postback scripts.<br />
I added old post back script that works fine .. from the old forum.<br />
<br />
If you have any problem , Please post in this thread so I can help.]]></description>
			<content:encoded><![CDATA[Go to your addoffer.php in the admin folder.<br />
<br />
Here is the code.<br />
<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">&#36;_GET</span><span style="color: #007700">[</span><span style="color: #DD0000">'do'</span><span style="color: #007700">]&nbsp;==&nbsp;</span><span style="color: #DD0000">"addoffer"</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">&#36;_POST</span><span style="color: #007700">[</span><span style="color: #DD0000">'subm'</span><span style="color: #007700">])&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mysql_query</span><span style="color: #007700">(</span><span style="color: #DD0000">"insert&nbsp;into&nbsp;offers&nbsp;values('','{&#36;_POST['cid']}','{&#36;_POST['affid']}','{&#36;_POST['name']}',&nbsp;'{&#36;_POST['url']}',&nbsp;'{&#36;_POST['reward']}',&nbsp;'{&#36;_POST['type']}',&nbsp;'',&nbsp;<br />'{&#36;_POST['active']}','{&#36;_POST['info']}','{&#36;_POST['country']}')"</span><span style="color: #007700">)&nbsp;or&nbsp;die(</span><span style="color: #0000BB">mysql_error</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;center&gt;&lt;b&gt;{&#36;_POST['name']}&nbsp;has&nbsp;been&nbsp;added.&lt;/b&gt;&lt;/center&gt;"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;table&nbsp;width=90%&gt;<br />&lt;tr&gt;&lt;th&nbsp;colspan=2&gt;Adding&nbsp;New&nbsp;Offer&lt;/th&gt;&lt;/tr&gt;<br />&lt;tr&gt;&lt;td&gt;<br />&lt;form&nbsp;action=?do=addoffer&nbsp;method=post&gt;&lt;input&nbsp;type=hidden&nbsp;name=subm&nbsp;value=1&gt;<br />Requirements/Description:&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=info&gt;&lt;br&gt;<br />Name:&nbsp;&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=name&gt;&lt;br&gt;<br />Campaign&nbsp;ID:&nbsp;&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=cid&gt;&lt;br&gt;<br />Affiliate&nbsp;Code:&nbsp;&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=affid&gt;&lt;br&gt;<br />URL:&nbsp;&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=url&gt;&nbsp;&lt;font&nbsp;size=1&nbsp;color=red&gt;no&nbsp;trailing&nbsp;/&nbsp;!!!!!!&lt;/font&gt;&lt;br&gt;<br />Reward:&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=reward&gt;&lt;br&gt;<br />&lt;br&gt;<br />Country:&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=country&gt;&lt;br&gt;<br />Type:&lt;select&nbsp;name=type&gt;"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;gettypes&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"SELECT&nbsp;*&nbsp;FROM&nbsp;offer_types&nbsp;WHERE&nbsp;active=1"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;types&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_query</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;gettypes</span><span style="color: #007700">)&nbsp;or&nbsp;die(</span><span style="color: #0000BB">mysql_error</span><span style="color: #007700">());&nbsp;<br />if&nbsp;(</span><span style="color: #0000BB">mysql_num_rows</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;types</span><span style="color: #007700">)==</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;option&nbsp;value=1&nbsp;selected&gt;Freebies&lt;/option&gt;"</span><span style="color: #007700">;<br />}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;(</span><span style="color: #0000BB">&#36;type&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_fetch_array</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;types</span><span style="color: #007700">))&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;option&nbsp;value='"</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;type</span><span style="color: #007700">[</span><span style="color: #DD0000">'id'</span><span style="color: #007700">].</span><span style="color: #DD0000">"'&gt;"</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;type</span><span style="color: #007700">[</span><span style="color: #DD0000">'type'</span><span style="color: #007700">].</span><span style="color: #DD0000">"&lt;/option&gt;"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br />print&nbsp;</span><span style="color: #DD0000">"<br />&lt;/select&gt;&lt;br&gt;<br />Active:&nbsp;&lt;select&nbsp;name=active&gt;&lt;option&nbsp;value=1&nbsp;selected&gt;Yes&lt;/option&gt;&lt;option&nbsp;<br />value=0&gt;No&lt;/option&gt;&lt;/select&gt;&lt;br&gt;&lt;br&gt;<br />&lt;input&nbsp;type=submit&nbsp;class=button&nbsp;value=&#092;"Add&nbsp;Offer&#092;"&gt;&lt;/form&gt;<br />&lt;/td&gt;<br />&lt;/tr&gt;&lt;/table&gt;<br />Hint:&nbsp;To&nbsp;Add&nbsp;Username&nbsp;in&nbsp;the&nbsp;link&nbsp;please&nbsp;use&nbsp;[USERNAME].&nbsp;For&nbsp;example&nbsp;http://www.google.com/[USERNAME]&nbsp;will&nbsp;look&nbsp;like&nbsp;http://www.google.com/Admin&nbsp;if&nbsp;you&nbsp;are&nbsp;logged&nbsp;in&nbsp;as&nbsp;Admin.<br />"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">admin_wrong_file</span><span style="color: #007700">();<br />}<br /><br /></span><span style="color: #0000BB">?&gt;</span></code></div></div></div>
<br />
replace with <br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&lt;?php<br /></span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">&#36;_GET</span><span style="color: #007700">[</span><span style="color: #DD0000">'do'</span><span style="color: #007700">]&nbsp;==&nbsp;</span><span style="color: #DD0000">"addoffer"</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">&#36;_POST</span><span style="color: #007700">[</span><span style="color: #DD0000">'subm'</span><span style="color: #007700">])&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">mysql_query</span><span style="color: #007700">(</span><span style="color: #DD0000">"insert&nbsp;into&nbsp;offers&nbsp;values('','{&#36;_POST['name']}',&nbsp;'{&#36;_POST['url']}',&nbsp;'{&#36;_POST['reward']}',&nbsp;'{&#36;_POST['type']}',&nbsp;'',&nbsp;<br />'{&#36;_POST['active']}','{&#36;_POST['info']}','{&#36;_POST['country']}')"</span><span style="color: #007700">)&nbsp;or&nbsp;die(</span><span style="color: #0000BB">mysql_error</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;center&gt;&lt;b&gt;{&#36;_POST['name']}&nbsp;has&nbsp;been&nbsp;added.&lt;/b&gt;&lt;/center&gt;"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;table&nbsp;width=90%&gt;<br />&lt;tr&gt;&lt;th&nbsp;colspan=2&gt;Adding&nbsp;New&nbsp;Offer&lt;/th&gt;&lt;/tr&gt;<br />&lt;tr&gt;&lt;td&gt;<br />&lt;form&nbsp;action=?do=addoffer&nbsp;method=post&gt;&lt;input&nbsp;type=hidden&nbsp;name=subm&nbsp;value=1&gt;<br />Requirements/Description:&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=info&gt;&lt;br&gt;<br />Name:&nbsp;&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=name&gt;&lt;br&gt;<br />URL:&nbsp;&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=url&gt;&nbsp;&lt;font&nbsp;size=1&nbsp;color=red&gt;no&nbsp;trailing&nbsp;/&nbsp;!!!!!!&lt;/font&gt;&lt;br&gt;<br />Reward:&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=reward&gt;&lt;br&gt;<br />&lt;br&gt;<br />Country:&lt;br&gt;&lt;input&nbsp;type=text&nbsp;name=country&gt;&lt;br&gt;<br />Type:&lt;select&nbsp;name=type&gt;"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;gettypes&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"SELECT&nbsp;*&nbsp;FROM&nbsp;offer_types&nbsp;WHERE&nbsp;active=1"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;types&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_query</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;gettypes</span><span style="color: #007700">)&nbsp;or&nbsp;die(</span><span style="color: #0000BB">mysql_error</span><span style="color: #007700">());&nbsp;<br />if&nbsp;(</span><span style="color: #0000BB">mysql_num_rows</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;types</span><span style="color: #007700">)==</span><span style="color: #0000BB">0</span><span style="color: #007700">)&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;option&nbsp;value=1&nbsp;selected&gt;Freebies&lt;/option&gt;"</span><span style="color: #007700">;<br />}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;(</span><span style="color: #0000BB">&#36;type&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">mysql_fetch_array</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;types</span><span style="color: #007700">))&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print&nbsp;</span><span style="color: #DD0000">"&lt;option&nbsp;value='"</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;type</span><span style="color: #007700">[</span><span style="color: #DD0000">'id'</span><span style="color: #007700">].</span><span style="color: #DD0000">"'&gt;"</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;type</span><span style="color: #007700">[</span><span style="color: #DD0000">'type'</span><span style="color: #007700">].</span><span style="color: #DD0000">"&lt;/option&gt;"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}<br />print&nbsp;</span><span style="color: #DD0000">"<br />&lt;/select&gt;&lt;br&gt;<br />Active:&nbsp;&lt;select&nbsp;name=active&gt;&lt;option&nbsp;value=1&nbsp;selected&gt;Yes&lt;/option&gt;&lt;option&nbsp;<br />value=0&gt;No&lt;/option&gt;&lt;/select&gt;&lt;br&gt;&lt;br&gt;<br />&lt;input&nbsp;type=submit&nbsp;class=button&nbsp;value=&#092;"Add&nbsp;Offer&#092;"&gt;&lt;/form&gt;<br />&lt;/td&gt;<br />&lt;/tr&gt;&lt;/table&gt;<br />Hint:&nbsp;To&nbsp;Add&nbsp;Username&nbsp;in&nbsp;the&nbsp;link&nbsp;please&nbsp;use&nbsp;[USERNAME].&nbsp;For&nbsp;example&nbsp;http://www.google.com/[USERNAME]&nbsp;will&nbsp;look&nbsp;like&nbsp;http://www.google.com/Admin&nbsp;if&nbsp;you&nbsp;are&nbsp;logged&nbsp;in&nbsp;as&nbsp;Admin.<br />"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br />}&nbsp;else&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">admin_wrong_file</span><span style="color: #007700">();<br />}<br /><br /></span><span style="color: #0000BB">?&gt;</span></code></div></div></div>
<br />
I only took out<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #DD0000">'{&#36;_POST['</span><span style="color: #0000BB">cid</span><span style="color: #DD0000">']}'</span><span style="color: #007700">,</span><span style="color: #DD0000">'{&#36;_POST['</span><span style="color: #0000BB">affid</span><span style="color: #DD0000">']}'&nbsp;<br /></span></code></div></div></div>
 &amp;<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">Campaign&nbsp;ID</span><span style="color: #007700">:&nbsp;&lt;</span><span style="color: #0000BB">br</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #0000BB">text&nbsp;name</span><span style="color: #007700">=</span><span style="color: #0000BB">cid</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">br</span><span style="color: #007700">&gt;<br /></span><span style="color: #0000BB">Affiliate&nbsp;Code</span><span style="color: #007700">:&nbsp;&lt;</span><span style="color: #0000BB">br</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #0000BB">text&nbsp;name</span><span style="color: #007700">=</span><span style="color: #0000BB">affid</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">br</span><span style="color: #007700">&gt;&nbsp;<br /></span></code></div></div></div>
because it's not really inserting nothing because campaign id and the affiliate id is not in the table. This is mainly for postback scripts.<br />
I added old post back script that works fine .. from the old forum.<br />
<br />
If you have any problem , Please post in this thread so I can help.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Need Design]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=328</link>
			<pubDate>Sun, 29 Jan 2012 17:28:08 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=328</guid>
			<description><![CDATA[Can someone make me a template?<br />
I would need help setting it up though too <img src="images/smilies/tongue.gif" style="vertical-align: middle;" border="0" alt="Tongue" title="Tongue" /><br />
<br />
We can discuss a price.]]></description>
			<content:encoded><![CDATA[Can someone make me a template?<br />
I would need help setting it up though too <img src="images/smilies/tongue.gif" style="vertical-align: middle;" border="0" alt="Tongue" title="Tongue" /><br />
<br />
We can discuss a price.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Banner design - $1 - Cheap - Simple]]></title>
			<link>http://www.pennylounge.com/showthread.php?tid=327</link>
			<pubDate>Sun, 29 Jan 2012 10:51:42 +0000</pubDate>
			<guid isPermaLink="false">http://www.pennylounge.com/showthread.php?tid=327</guid>
			<description><![CDATA[PM me to request a banner and if you want any specific designs or details on the banner , Please inform me !<br />
<br />
Two samples ; I just used 'DOMAINGPT' as a example of name.<br />
<br />
<img src="http://img819.imageshack.us/img819/9607/50878698.jpg" border="0" alt="[Image: 50878698.jpg]" /><br />
<br />
<img src="http://img812.imageshack.us/img812/3155/74825031.jpg" border="0" alt="[Image: 74825031.jpg]" /><br />
<br />
<img src="http://img402.imageshack.us/img402/4232/bannergpt2.jpg" border="0" alt="[Image: bannergpt2.jpg]" /><br />
<br />
I accept PayPal and LB.]]></description>
			<content:encoded><![CDATA[PM me to request a banner and if you want any specific designs or details on the banner , Please inform me !<br />
<br />
Two samples ; I just used 'DOMAINGPT' as a example of name.<br />
<br />
<img src="http://img819.imageshack.us/img819/9607/50878698.jpg" border="0" alt="[Image: 50878698.jpg]" /><br />
<br />
<img src="http://img812.imageshack.us/img812/3155/74825031.jpg" border="0" alt="[Image: 74825031.jpg]" /><br />
<br />
<img src="http://img402.imageshack.us/img402/4232/bannergpt2.jpg" border="0" alt="[Image: bannergpt2.jpg]" /><br />
<br />
I accept PayPal and LB.]]></content:encoded>
		</item>
	</channel>
</rss>
