I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
// NUMBER OF <TD> PER <TR> ( IN ENGLISH: COLUMNS IN THE PAGE :-) ) $td='3'; // BACKGROUND COLOR OF THE PAGE $bg='white'; // SHOW THE NAME OF THE FILE? $name='0'; // 1 = yes, 0 = no // TITLE OF YOUR PAGE $pagetitle="Billeder fra min mobil ;)";
### --- CHANGE NOTHING BELOW THIS LINE UNLESS YOU ARE OK WITH PHP --- ###
// DIRECTORY NAME $handle=opendir('.');
// GO $piccy=array(); $count=0; // SCAN THE DIR while (($filename = readdir($handle))!==false) { // ADD IN EXTRA FILE TYPES HERE if (substr($filename,-4) == ".jpg" || substr($filename,-4) == ".gif" || substr($filename,-4) == ".png" || substr($filename,-4) == ".JPG" || substr($filename,-4) == ".GIF" || substr($filename,-4) == ".PNG" || substr($filename,-4) == ".BMP" || substr($filename,-4) == ".bmp"){ if (strlen($filename) >5){ $piccy[$count] = $filename; $count++; }}} // CLOSE DIR closedir($handle); // SORT THE FILES sort($piccy); reset($piccy); if($large) { for($i=0; $i<$count;$i++) { if($large == $piccy[$i]) { $picid = $i; if($action) { $i = $i + $action ; $large =$piccy[$i]; $picid = $i; }
} } }
// DISPLAY LARGE IMAGE if ($large){
echo "<html><head><title>Gallery :: " .$large. "</title></head><body bgcolor=" . $bg . ">"; echo '<div align="center">'; // IS NAME SELECTED TO SHOW? if ($name=="1") { if (!(file_exists($large))){ echo "No file of that name is uploaded."; exit; } echo '<br><font face="verdana" size="1">Selected image:'.$large.'</font>';} // SHOW THE PICTURE echo '<table width="100%" border=0 cellpadding=0 cellspacing=0>'; echo '<tr>'; echo '<td width="100%" valign="middle" align="center"><a href=java script:history.back(-1)><img src="billede.php?nusse='.$large.'" alt="'.$large.'" border=0></a></td>'; echo '<br>'; echo '<tr>'; echo '<td height="19" width="501" valign="top">'; if($picid > 0) { echo '<div align="left"><a href="index.php?large='.$large.'&action=-1">Forrige</a></div>'; } echo '</td>'; echo '<td width="502" valign="top">'; if($picid < $count -1) { echo '<div align="right"><a href="index.php?large='.$large.'&action=1">Næste</a></div>'; } echo '</td>'; echo '</tr></table>'; } // NO LARGE PICCY, CREATE TABLE FOR THUMBNAILS: else{ // start table, if you want cellpadding, cellspacing, colors, set them here echo '<html><head><title> ::// FrederikBB.dk Gallery //::</title>'; echo '<head>'; echo "<body bgcolor=" . $bg . ">"; echo '<div align="center"><font face="verdana" size="1">' . $pagetitle . '</font><br>'; echo '<br><table width="100%" border=0 cellpadding=0 cellspacing=0>'; echo '<tr>'; // BECAUSE THE <TD> IS SET BY USER, WORK OUT THE PERCENTAGES: $divider=ceil(100/$td); if (($divider*$td)>100) $divider--; // GRAB THE IMAGES for ($l=0;$l<=sizeof($piccy)-1;$l++){ $isend = strpos((($l)/$td),"."); if (!$isend && ($l!=0)){echo "</tr>\n<tr><td colspan=$td><br></td></tr>\n<tr>\n";} if ($l==0){echo "\n";} // START THE <TD> echo '<td width="'.$divider.'%" valign="middle" align="center">'; // GET THE LARGER PICTURE (IF SELECTED) echo "<a target='_blank' href=\"$PHP_SELF?large=$piccy[$l]\">"; // DISPLAY THE THUMBNAILS echo '<img src="'.$piccy[$l].'" width="172" height="142" alt="'.$piccy[$l].'" border=0></a><br><br>'; // IS NAME SELECTED TO SHOW? if ($name=="1") { echo '<font face="verdana" size="1">' . $piccy[$l]. '</font>';} echo '</td>'; echo"\n";} echo '</tr></table></div>';} echo '<br><br><br><div align="center"><font face="verdana" size="1"></font></div></body></html>'; ?> <? include ("countersolution.php") ; ?>
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.