Tuesday, March 29, 2011

Heaters Bad For Congestion

albums for Pluck CMS Form Photo Album v2 for Pluck CMS

We modified the module code "Photo Album" Pluck CMS, to sort the albums alphabetically

modified the file "data / modules / albums / pages_site / albums_include.php. "

can download the new module from this link


The modified code is as follows

/ / Open the module-folder
/ / this code was changed with tip "http://codestips.com/php-read-directory-into-array/"
$directory="data/settings/modules/albums";
   // create a handler to the directory
    $dirhandler = opendir($directory);
 
    // read all the files from directory
    $nofiles=0;
    while ($file = readdir($dirhandler)) {
 
        // if $file isn't this directory or its parent
        //add to the $files array
        if ($file != '.' && $file != '..'){
            $nofiles++;
            $files[$nofiles]=$file;
        }  
    }
    //close the handler
    closedir($dirhandler);
$files2=sort($files);

//SerInformaticos code
for ($i=0; $i < count($files); $i++){
    $ Dir = $ files [$ i];



Creative Commons License

Tuesday, March 15, 2011

Why Does My Dog Smack Her Lips?

-Contact Form-CMS Pluck

After a few days of receiving spam from the web, and many came from the contact form on the web, so we decided to review the code itself, and found that in the form's module of our CMS unchecked you write an e-mail address.

We took a while to see the code and modify it, very simple lines, adding the following encodings do not allow emails to be sent that have not been spelled correctly:

if (eregi (" .+@+.+..{ 1.3} ")) {
print (" is a mail
n ");
} else {print (" NOT a mail
n " )

To download the form Contact Form CMS Pluck-modify, download here

Creative Commons License

Monday, March 14, 2011

Milena Velba And Miosotis Together Clothed





Creative Commons License