Published in: PHP
function read_imagesinpages($dir) { if(($file1 !== ".") and ($file1 !== "..") and ($file1 !== "kop1.php")) { $files[]=$file1; else $dirs[]=$dir."/".$file1; } } if($files) { foreach ($files as $file1) { //Include Translation data include ("data/settings/langpref.php"); include ("data/inc/lang/en.php"); include ("data/inc/lang/$langpref"); echo "<div class=\"menudiv\" style=\"width: 200px; margin: 2px;\"> <table> <tr> <td> <img src=\"data/image/image_small.png\" border=\"0\" alt=\"\"> </td> <td style=\"font-size: 14px;\"> <span style=\"font-size: 16px;\"><a href=\"$dir/$file1\" target=\"_blank\"\">$file1</a></span><br> <a href=\"#\" onclick=\"tinyMCE.execCommand('mceInsertContent',false,'<a href=$dir/$file1>$file1</a>');return false;\">$lang_page9</a> </td> </tr> </table> </div>"; } } }
You need to login to post a comment.
