Jump to content

darubillah

Members
  • Posts

    54
  • Joined

  • Last visited

    Never

Posts posted by darubillah

  1. hello,

     

    sorry for late reply and also for double posting

     

    ya i understand this script well!

     

    see here this is the table for ads package

     

    -- phpMyAdmin SQL Dump
    -- version 2.11.7
    -- http://www.phpmyadmin.net
    --
    -- Host: localhost
    -- Generation Time: Jun 18, 2009 at 08:05 PM
    -- Server version: 5.0.51
    -- PHP Version: 5.2.6
    
    SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
    
    --
    -- Database: `angaray_gen3`
    --
    
    -- --------------------------------------------------------
    
    --
    -- Table structure for table `ad_packages`
    --
    
    CREATE TABLE IF NOT EXISTS `ad_packages` (
      `id` int(11) NOT NULL auto_increment,
      `clicks` int(11) NOT NULL,
      `price` varchar(100) NOT NULL,
      PRIMARY KEY  (`id`)
    ) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
    
    --
    -- Dumping data for table `ad_packages`
    --
    
    INSERT INTO `ad_packages` (`id`, `clicks`, `price`) VALUES
    (1, 100, '1.25'),
    (2, 200, '2.50'),
    (3, 300, '3.75'),
    (4, 400, '5.00'),
    (5, 500, '6.25'),
    (6, 1000, '12.5');
    

     

    Now i want to add an expiration table in it,

     

    for example when anyone buys a 100 click package then it will expires in 10 days

    and similarly when anyone buys 200 click package then it will expires in 20 days

     

    IT WILL BE MORE EASY TO EXPLAIN ME, AND TO GET UNDERSTOOD BY YOU, IF INSTALL THIS SCRIPT

     

    YOU CAN FIND DEMO IN HTTP://PTCPLACES.COM

     

    ADMIN DEMO HTTP://PTCPLACES.COM/ADMIN

    login        : admin

    Password : Dopy134

     

     

    thanks

    Shayan

  2. hi,

     

    i want to convert GeN3 PTC Script into a GeN3 PTA script

     

    herez the script

     

    http://www.ziddu.com/download/4122590/Gen3v1.2.1.zip.html

     

    i just want to add some code in themes/gen3/ads.php

     

    so that it will only show advertisement if that user had buyed any advertisement package

     

    in SHORT I WANT IT TO WORK LIKE http://PAYEE.ME

     

    PLEASE DONT ADD CODE

     

    POST IT IN THIS TOPIC

     

    SO THAT I CAN LEARN HOW TO DO IT

     

    THANKS

    Shayan

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.