Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $esportazione = "SELECT * FROM photodeluxe_config WHERE ind = 1";
- $eseguiesportazione = mysql_query($esportazione);
- $risultatiesportazione = mysql_fetch_assoc($eseguiesportazione);
- $sharealbum = $risultatiesportazione['sharealbum'];
- $commentialbum = $risultatiesportazione['commentialbum'];
- $setavatar = $risultatiesportazione['setavatar'];
- $sharephoto = $risultatiesportazione['sharephoto'];
- $tagphoto = $risultatiesportazione['tagphoto'];
- $ratephoto = $risultatiesportazione['ratephoto'];
- $commentophoto = $risultatiesportazione['commentophoto'];
- $fotoalbum = $risultatiesportazione['fotoalbum'];
- $integrazionespywall = $risultatiesportazione['integrazionespywall'];
- $integrazione1col = $risultatiesportazione['integrazione1col'];
- $integrazionemegaprofile = $risultatiesportazione['integrazionemegaprofile'];
- $likefun = $risultatiesportazione['likefun'];
- $nometag = $risultatiesportazione['nicklink'];
- $styletemplate = $risultatiesportazione['styletemplate'];
- $numerocarattericommento = $risultatiesportazione['limitcomment'];
- $form_categorie = $risultatiesportazione['field1'];
- $form_descrizione = $risultatiesportazione['field2'];
- $form_tag = $risultatiesportazione['field3'];
- $formatodata = $risultatiesportazione['formatodata'];
- $formatoname = $risultatiesportazione['formatoname'];
- $offset = $risultatiesportazione['offset'];
- $selezionewidth = "SELECT sys_options.VALUE FROM sys_options WHERE Name = 'bx_photos_file_width'";
- $exewidth=mysql_query($selezionewidth);
- $maxassoc=mysql_fetch_assoc($exewidth);
- $maxwidth=$maxassoc['VALUE'];
- $selezionewidth = "SELECT sys_options.VALUE FROM sys_options WHERE Name = 'bx_photos_file_height'";
- $exewidth=mysql_query($selezionewidth);
- $maxassoc=mysql_fetch_assoc($exewidth);
- $maxheight=$maxassoc['VALUE'];
- function criptcode($numero) {
- $id0 = rand(1,9);
- $id1 = rand(10000,99999);
- $mx = $numero*$id0;
- $generacriptcode = $id0.$id1.$mx;
- return ($generacriptcode);
- }
- function decriptcode($code) {
- $estrazione0 = substr($code,0,1);
- $estrazione = substr($code,6);
- $mxestrazione = $estrazione/$estrazione0;
- return ($mxestrazione);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement