'; } /** * Returns the source code to call a javascript file * * @param String $file The javascript file to call */ function code_inc_js($file){ return ''; } /** * Returns the source code to include an image * * @param String $file The image file to call * @param String $name Optionnal - The name of the image * @param String $width Optionnal - The width of the image * @param String $height Optionnal - The height of the image * @param String $style Optionnal - The style attached to the image * @param String $onClick Optionnal - What to do once image is clicked * @param String $class Optionnal - The class of the image */ function code_inc_img($file, $name = "", $width = "", $height = "", $style = "", $onClick="", $class = ""){ if($width != "") $width = " width='".$width."' "; if($height != "") $height = " height='".$height."' "; if($style != "") $style = " style='".$style."' "; if($onClick != "") $onClick = ' onClick="'.$onClick.'" '; if($class != "") $class = ' onClick="'.$class.'" '; //Returning result return ''.$name.''; }