Beispiel #1
0
 public static function regJugador()
 {
     if (count_chars($__POST["ctnya"]) < 6 && ctype_alnum($c = $__POST["ctnya"]) && ctype_alnum($n = $__POST["nick"])) {
         $jugadors = file('jugadors.txt', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
         // lee el archivo de los jugadores
         foreach ($jugadors as $nick => $ctnya) {
             if ($n == $nick && $c == $ctnya) {
                 // nick y ctnya correctos
                 return __construct($__POST["correu"], $nick, $ctnya);
                 //devuelve un objeto jugador
             } elseif ($n == $nick && $c != $ctnya) {
                 // nick correcto y ctnya incorrecta
                 return FALSE;
                 // devuelve FALSE si la contraseña esta mal
             }
         }
         fwrite(fopen('jugadors.txt', 'a'), $n . " " . $c . " 0");
         return __construct($__POST["correu"], $n, $c);
     } else {
         return 1;
     }
 }
 function multiSiteSwitcher()
 {
     return __construct();
 }
Beispiel #3
0
 function Likedome()
 {
     __construct();
 }
Beispiel #4
0
 function __construct()
 {
     parent:
     __construct();
 }
Beispiel #5
0
 public function unserialize($data)
 {
     __construct($this->toInt($data));
 }
	function __construct($message=null,$code=0)
	{
		parent:__construct($message,$code);
	}
 public function __default()
 {
     return __construct();
 }
Beispiel #8
0
 function Ucenter_Integration()
 {
     __construct();
 }
            echo "31) <span style='color:blue'>Added the &ldquo;testimonials&rdquo; table</span><br />";
        } else {
            echo "<span style='color:red'>Error with query 31</span><br />";
        }
    }
    // 32. Modify the Blog_Entries table to include an excerpt
    if (mysql_num_rows(mysql_query("SHOW COLUMNS FROM blog_entries LIKE 'excerpt'")) == TRUE) {
        echo "32) <span style='color:green'>Blog_entries > &ldquo;excerpt&rdquo; column already exists</span><br />";
    } else {
        $query32 = "ALTER TABLE blog_entries ADD `excerpt` text NOT NULL;";
        if (mysql_query($query32)) {
            echo "32) <span style='color:blue'>Added the &ldquo;excerpt&rdquo; column to Blog_Entries</span><br />";
        } else {
            echo "<span style='color:red'>Error with query 32</span><br />";
        }
    }
    // 33. Modify the Testimonials table to include an is_featured boolean
    if (mysql_num_rows(mysql_query("SHOW COLUMNS FROM testimonials LIKE 'is_featured'")) == TRUE) {
        echo "33) <span style='color:green'>Testimonial > &ldquo;is_featured&rdquo; column already exists</span><br />";
    } else {
        $query33 = "ALTER TABLE testimonials ADD `is_featured` tinyint(11) NOT NULL DEFAULT '0';";
        if (mysql_query($query33)) {
            echo "33) <span style='color:blue'>Added the &ldquo;is_featured&rdquo; column to Testimonials</span><br />";
        } else {
            echo "<span style='color:red'>Error with query 33</span><br />";
        }
    }
    mysql_close($link);
}
__construct();
 function FW_vimeo_videowall()
 {
     __construct();
 }
Beispiel #11
0
 function Gateway_Relay()
 {
     __construct();
 }
Beispiel #12
0
 function ModuleReader() {
    return __construct();
 }
 /**
  * PHP4 Constructor
  *
  **/
 function Add_New_Users()
 {
     __construct();
 }
 /**
  * @todo where's the view super-object?
  * @access public
  * @return void
  */
 public function __construct()
 {
     parent . __construct();
 }
Beispiel #15
0
 function LoginLock()
 {
     __construct();
 }
Beispiel #16
0
 function PostStats()
 {
     return __construct();
 }
Beispiel #17
0
 function AMP_Auth_Password_Reset_Form()
 {
     return __construct();
 }
 /**
  * The old-style PHP Class constructor. Used when an instance of this class 
  * is needed. If used (PHP4) this function calls the PHP5 version of the constructor.
  *
  * @since 1.0.0
  * @param none
  * @return self
  */
 function SiteCategories()
 {
     __construct();
 }
Beispiel #19
0
 /**
  * Constructor.
  *
  * @return void
  **/
 function Directory_Core_Main()
 {
     __construct();
 }
 /**
  * Constructor.
  */
 function Paypal_Express_Gateway($options = null)
 {
     __construct($options);
 }
 function xz_mysqli($dbpwd, $dbname, $dbuser = "******", $dbhost = "localhost", $charset = "utf8")
 {
     __construct($dbpwd, $dbname, $dbuser, $dbhost, $charset);
 }
Beispiel #22
0
 public function unserialize($data)
 {
     __construct($data);
 }
Beispiel #23
0
 public function unserialize($data)
 {
     __construct($this->record->unserialize($data));
 }
 function wpc_client()
 {
     __construct();
 }
 /**
  * PHP 4 constructor
  **/
 function Login_Redirect()
 {
     __construct();
 }