0) { $items = file($database, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); foreach($items as $line) { list($username, $password, $email, $name, $active) = explode('|', trim($line)); if ($username == $_POST['username'] && $active != "0" && $password == $crypt_pass) { $found = true; $fullname = $name; } } } if($found == false) { header('Location: '.$error_page); exit; } else { if (session_id() == "") { session_start(); } $_SESSION['username'] = $_POST['username']; $_SESSION['fullname'] = $fullname; $_SESSION['expires_by'] = time() + $session_timeout; $_SESSION['expires_timeout'] = $session_timeout; $rememberme = isset($_POST['rememberme']) ? true : false; if ($rememberme) { setcookie('username', $_POST['username'], time() + 3600*24*30); setcookie('password', $_POST['password'], time() + 3600*24*30); } header('Location: '.$success_page); exit; } } $username = isset($_COOKIE['username']) ? $_COOKIE['username'] : ''; $password = isset($_COOKIE['password']) ? $_COOKIE['password'] : ''; if ($_SERVER['REQUEST_METHOD'] == 'POST' && $_POST['form_name'] == 'forgotpasswordform') { $email = isset($_POST['email']) ? addslashes($_POST['email']) : ''; $found = false; $items = array(); $success_page = ''; $error_page = basename(__FILE__); $database = './usersdb.php'; if (filesize($database) == 0 || empty($email)) { header('Location: '.$error_page); exit; } else { $items = file($database, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); foreach($items as $line) { list($username, $password, $emailaddress, $fullname, $active) = explode('|', trim($line)); if ($email == $emailaddress && $active != "0") { $found = true; } } } if ($found == true) { $alphanum = array('a','b','c','d','e','f','g','h','i','j','k','m','n','o','p','q','r','s','t','u','v','x','y','z','A','B','C','D','E','F','G','H','I','J','K','M','N','P','Q','R','S','T','U','V','W','X','Y','Z','2','3','4','5','6','7','8','9'); $chars = sizeof($alphanum); $a = time(); mt_srand($a); for ($i=0; $i < 6; $i++) { $randnum = intval(mt_rand(0,55)); $newpassword .= $alphanum[$randnum]; } $crypt_pass = md5($newpassword); $file = fopen($database, 'w'); foreach($items as $line) { $values = explode('|', trim($line)); if ($email == $values[2]) { $values[1] = $crypt_pass; $line = ''; for ($i=0; $i < count($values); $i++) { if ($i != 0) $line .= '|'; $line .= $values[$i]; } } fwrite($file, $line); fwrite($file, "\r\n"); } fclose($file); $mailto = $_POST['email']; $subject = 'New password'; $message = 'Your new password for http://www.yourwebsite.com/ is:'; $message .= $newpassword; $header = "From: webmaster@yourwebsite.com"."\r\n"; $header .= "Reply-To: webmaster@yourwebsite.com"."\r\n"; $header .= "MIME-Version: 1.0"."\r\n"; $header .= "Content-Type: text/plain; charset=utf-8"."\r\n"; $header .= "Content-Transfer-Encoding: 8bit"."\r\n"; $header .= "X-Mailer: PHP v".phpversion(); mail($mailto, $subject, $message, $header); header('Location: '.$success_page); } else { header('Location: '.$error_page); } exit; } ?> Cannabis by the Gram - Retail Vending Systems >
Miscellellaneous listings - Ownership for Essays and Videos
Automotive Boats RV's ATV's Trailers listings - Ownership for Essays and Videos
Homes and Propertys - Ownership for Essays and Videos
Hot Offers and Ending Soon - Ownership for Essays and Videos
Hey you, are you in need of a Cannabis and Fun filled Vacation or Tour in Beautiful Colorado? Then you are ready for an amazing V.I.P.S. Colorado Cannabis Vacation or Tour!
Pre-Rolled Vacations & Tours
V.I.P.S. Colorado Cannabis Vacations & Tours
Colorado V.I.P.S. Highlights 2014-2015
Bud Head by CBTG
We know you will like all or part of one of the pre-rolled packages?, just select the one you like to get started.

Have your own ideas for a “Mile High Marijuana Dream V.I.P.S. Vacation or Tour.” Great contact us today or fill out the Custom Vacation and Tour Form, and we will help you with all the finer points to insure you have an amazing Vacation or Tour at V.I.P.S. Vacations.
Back
Next
ADVERTISEMENT
Cannabis for Business:
Cannabis for Fun and Knowledge:
ADVERTISEMENT
Cannabis Products and Services:
Back
Next
Cannabis for Charity:
Find us on Pinterest - Click Here
Check US OUT ON SOCIAL MEDIA
Find us on tumblr - Click Here
Find us on Facebook - Click Here
Find us on Google - Click Here
Find us on Twitter - Click Here
Cannabis by the Gram (tm) Logo
"Company Logo/Video"
Website Format
Select Device
18+ Recommend Website
Customer Service - Ownership for Essays and Videos
Review our Preformance - Ownership for Essays
Cannabis by the Gram - Mobile Site
Cannabis by the Gram - Tablet Site
Contact us Today!
Ganja Games - Fun for the Mind
Free Fun Games
A Large Collection of Cannabis & Hemp Funny Images & Propaganda
Ganja Propaganda
Weed World News
FB - Cannabis News
Daily News Post about Cannabis & Hemp - with Funny Cannabis Images.
Computer - Tablet - SmartPhones Screen Savers, Themes, & Backgrounds.
Screens & Themes
Weed Screen Savers and Themes
Sell your Marijuana arts and crafts
Buy-Sell Arts/Crafts
List - Buy - Sell your Creative Cannabis Inspired Artwork & Crafts.
How-2 Weed eBooks
Weed ebooks
A Collection of the Funniest Videos the Internet has to offer.
Comedy Videos
Cannabis Comedy Videos
Ganja Games is a fun and free way to work your brain with simple and chalanging games
Download free eBooks and PDF, covering How to do everything with Cannabis.
Back
Next
Marijuana Vending Unit by CBTG
Cannabis by the Gram - Canna-MedVend Vending

Are patent pending, and specifically designed for 21+ Retail Marijuana Sales.

Covering all state requirements, including finger print identification, and optional State ID scanner/reader, even includes quantity control features. CBTG Vending systems can hold over 200 vendible ready products.

The compact design is ideal for retail locations with little empty floor and wall space.
JOIN THE MARIJUANA VENDING REVOLUTION TODAY AS A BUSINESS OWNER.

TERRITORIES IN MARIJUANA LEGAL SATES ARE AVAILABLE NOW!
Franchise - Cannabis Retail Vending
Fast, effective financing now available for qualified 21 and over Business Owners!
Act Now!
Cannabis by the Gram is looking for strong entrepreneurs who want to make a difference
and join the marijuana vending revolution in markets across the country.
(A great living with flexible hours)
Back
Next
Rest assured your payment details are secure at all times. Our payment process
uses SSL encryption to protect your details as certified by GoDaddy.
All Images and content in this website are copyright © protected by Higgins Today LLC. ©2015
58 Arapahoe Dr. Unit #33 Florissant CO, 80816
Phone: (1) 719 . 286 . 8620 | Email: Support@CannabisbytheGram.com

CannabisBTG - Log In
Account Name:
Password:
 Remember me
 
Forgot your password?
Email:
 
CBTG 100% Satisfaction
UPS
FedEx
USPS
Contact us Today!
Cannabis by the Gram site Navigation.
Prof. C.S. Joint (tm) CBTG