init($dbserver,$dbname,$dbuser,$dbpass); // Start User Session session_start(); if (!isset($op)){ $op = "";} // Define Common Variable if (!isset($page)){ $page = "1";} if (!isset($msg)){ $msg = "";} if (!isset($uri)){ $uri = "";} if (!isset($uploaderror)){ $uploaderror = "";} // User Validation Support function authUser($email,$passwd){ global $db,$dbprefix; if(!empty($email) && !empty($passwd)){ $checkcookie = $db->getRowExtended($db->do_query("SELECT email, passwd FROM ".$dbprefix."_users WHERE email='".$email."' AND passwd='".$passwd."'")); return true; } else { return false;} } // User Validation Support function checkUser($db,$dbprefix,$username,$passwd){ $query = mysql_query("SELECT username,password FROM ".$dbprefix."_users WHERE username='".$username."' AND password='".md5($passwd)."'"); $numRows = mysql_num_rows($query); if ($numRows){ return true; } else { return false; } } function stripsearch($text){ $search = array('@<>@', '@]*?>.*?@siU', // Strip out javascript '@]*?>.*?@siU', // Strip style tags properly '@]*?>.*?@siU', // embed '@]*?>.*?@siU', // object '@@', // Strip multi-line comments including CDATA '@]*>*@' // html tags ); while($text != strip_tags($text)) { $text = preg_replace($search, '', $text); } return $text; } function limit_text($text,$limit) { // figure out the total length of the string if( strlen($text)>$limit ) { # cut the text $text = substr( $text,0,$limit ); # lose any incomplete word at the end $text = substr( $text,0,-(strlen(strrchr($text,' '))) ); } // return the processed string return $text."... "; } function shorten($string, $length) { // By default, an ellipsis will be appended to the end of the text. $suffix = '...'; // Convert 'smart' punctuation to 'dumb' punctuation, strip the HTML tags, // and convert all tabs and line-break characters to single spaces. $short_desc = trim(str_replace(array("\r","\n", "\t"), ' ', strip_tags($string))); // Cut the string to the requested length, and strip any extraneous spaces // from the beginning and end. $desc = trim(substr($short_desc, 0, $length)); // Find out what the last displayed character is in the shortened string $lastchar = substr($desc, -1, 1); // If the last character is a period, an exclamation point, or a question // mark, clear out the appended text. if ($lastchar == '.' || $lastchar == '!' || $lastchar == '?') $suffix=''; // Append the text. $desc .= $suffix; // Send the new description back to the page. return $desc; } function countVisit(){ // SET VISITOR COOKIE / Update Page Visits if not already a visitor // Count Starting Jan 2 2007: 50,553 if ($_COOKIE['visitor'] != "1"){ $db->do_query("UPDATE ".$dbprefix."_system_visits SET visits=visits+1"); setcookie ("visitor", "1", time()+3600,"/",".listbargains.com"); } } function genPass($min,$max){ // Random Password Generator $passwd=""; //to store generated password for($i=0;$i 97 && $num < 122)){ $passwd.=chr($num); }else if(($num > 65 && $num < 90)){ $passwd.=chr($num); }else if(($num >48 && $num < 57)){ $passwd.=chr($num); }else if($num==95){ $passwd.=chr($num); }else{ $i--; } } return $passwd; } function loginPanel($msg){ echo '

'.$msg.'' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '' . '
Email:
Password:
 ' . '

'; } ?> ListBargins.com :) Quality lists for less!

Email Lists ... Real-Time Marketing today!

Business Email

· 100% Opt-in Email Records
· Acquisition/Retention Programs
· Email Append
· ECOA – Email Change of Address

Selections:
- Monthly Hotlines
- Geography
- Gender
- Firmographic
- Occupation
- Industry/SIC Code
- Company Size
- Hispanic Owned
- Verified Spanish Speaking
- Female Professionals
- Business Owners
Consumer Email

· 100% Opt-in Email Records
· Acquisition/Retention Programs
· Email Append
· ECOA – Email Change of Address

Selections:
- Monthly Hotlines
- Geography
- Gender
- Demographic
- Lifestyle
- Intent to Purchase
- Donors
- Debt Consolidation
- Cash Advance
- Continuing Education
- Travel
- Family
- Verified Spanish Speaking
BusyBeaver.biz

· Sales Leads
· Skip Tracing
· Banner Advertising
· Co-Registration Offers

Selections:
- Monthly Hotlines
- Solo or Co-Branded
- Home Page/Search Results
- CPA/CPL/Rev Share
- Search Marketing

ListBargains.com offers List Rentals, Wholesale Partnerships and Database Licensing with every data segment available. Consumer. Business. Postal. Email. Phone. Text. For Personalized Service and Individualized World-Class Customer Care, contact us today!

All at the touch of a button
Browse over 400 Datacards, Postal Lists, Email Services,
Texting 101, Data Processing, and News.