Site Age

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    INSERT INTO `ibwf_settings` VALUES (9, 'siteage', 'ur no.'); its not a table its a value from `ibwf_settings`.... ur no. means you number ..
    ------------------------------------------------- --------------------------------------------------------

    --
    -- Structura de tabel pentru tabelul `ibwf_settings`
    --

    CREATE TABLE `ibwf_settings` (
    `id` int(10) NOT NULL auto_increment,
    `name` varchar(30) NOT NULL default '',
    `value` varchar(200) NOT NULL default '',
    PRIMARY KEY (`id`),
    UNIQUE KEY `name` (`name`)
    ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=15 ;

    --
    -- Salvarea datelor din tabel `ibwf_settings`
    --

    INSERT INTO `ibwf_settings` VALUES(1, 'sesexp', '30');
    INSERT INTO `ibwf_settings` VALUES(2, 'Mon 31 Mar 2008 - 22:21', '80');
    INSERT INTO `ibwf_settings` VALUES(3, '4ummsg', 'enjoy tecweb');
    INSERT INTO `ibwf_settings` VALUES(4, 'Counter', '167339');
    INSERT INTO `ibwf_settings` VALUES(5, 'pmaf', '');
    INSERT INTO `ibwf_settings` VALUES(6, 'reg', '1');
    INSERT INTO `ibwf_settings` VALUES(7, 'fview', '0');
    INSERT INTO `ibwf_settings` VALUES(8, 'lastbpm', '2008-04-15');
    INSERT INTO `ibwf_settings` VALUES(9, 'vldtn', '1');
    INSERT INTO `ibwf_settings` VALUES(11, 'mlive', '0');
    INSERT INTO `ibwf_settings` VALUES(10, 'liveaf', '');
    INSERT INTO `ibwf_settings` VALUES(11, 'mlive', '0');
    INSERT INTO `ibwf_settings` VALUES (12, 'siteage', '31 or what number u want');
    -- --------------------------------------------------------
    some thing like that its at mine

    Hate romains that take codes from here and tell to all that they had made that

    Comment


      #17
      Thanks mate. .I'll try it. .

      Comment


        #18
        Thanks mate. .I'll try it. .

        Comment


          #19
          heres site age without database

          just adjust $siteage = "1175672936"; to your site age :P

          <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>$siteage = "1175672936";
          $sage = (time() - $timeadjust)-$siteage;
          $stage = ceil($sage/(24*60*60));
          $inca = $stage / 365;
          $syear = round($inca,0);
          if($syear<1){
          echo "Site Age: $stage Days

          ";
          }else if($syear=="1"){
          echo "Site Age: $syear year $stage Days

          ";
          }else{
          echo "Site Age: $syear years $stage Days

          ";
          }</div>

          Comment

          Working...
          X