Commit 2bb87b00 authored by Imran Hussain's avatar Imran Hussain
Browse files

Merging chnages from live site into trunk and beta

parents df996f41 f179c91d
function smarty_function_logo_of_the_day($params, &$smarty) {
$logos = glob ("../htdocs/images/awesomelogos/*.png");
$logo_of_the_day = $logos[array_rand ($logos)];
$logo_size = getimagesize($logo_of_the_day);
$width_height_string = $logo_size[3];
$logo_src = str_replace("../htdocs","",$logo_of_the_day);
return "<img src=\"$logo_src\" $width_height_string alt=\"SUCS\" />";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment