1){ $newwidth = $w; $newheight = $w/$imgratio; }else{ $newheight = $w; $newwidth = $w*$imgratio; } */ $newheight = ($w*$height) / $width; $newwidth= $w; //function for resize image. //if (function_exists(imagecreatetruecolor)){ $resized_img = imagecreatetruecolor($newwidth,$newheight); //}else{ // die("Error: Please make sure you have GD library ver 2+"); //} //the resizing is going on here! imagecopyresampled($resized_img, $new_img, 0, 0, 0, 0, $newwidth, $newheight, $width, $height); //finally, save the image ImageJpeg ($resized_img,"$dest/$name",100); ImageDestroy ($resized_img); ImageDestroy ($new_img); //ok copy the finished file to the thumbnail directory //move_uploaded_file ($file_tmp, "$path_big/$rand_name.$file_ext"); } ?>getAllByParentID($pid,2); $prefix = ""; for($i=0;$i<$indexes;$i++){ $prefix = $prefix."|-"; } for($i=0;$igetSubContent($arr[$i]['id'],$array,$indexes+1); } return $array; } function getAllContent($id){ $array = array(); $result = $this->getSubContent($id,$array,0); $output = array(); for($i=0;$i 3){ array_push($arr,$file); } } closedir($handle); Rsort($arr); } return $arr; } function getCourseGallery($type,$nature,$cPageNo,$rpp){ $course = new Course(); $result = $course->getCourseGallery($type,$nature,$cPageNo,$rpp); $loop = array_pop($result); $pn = ($loop%$rpp == 0)?$loop/$rpp:intval($loop/$rpp)+1; $arr = array(0); $arr_name = array(0); for($i=0;$i<$pn;$i++){ $arr[$i] = $i; $tmp = $i+1; $arr_name[$i] = "Page ".$tmp; } array_push($result,$arr); array_push($result,$arr_name); array_push($result,$loop); return $result; } function getCourseList($alp,$cPageNo,$search,$orderBy,$priority,$rpp){ $course = new Course(); $result = $course->getAllCourse($alp,$cPageNo,$search,$orderBy,$priority,$rpp); $loop = array_pop($result); $pn = ($loop%$rpp == 0)?$loop/$rpp:intval($loop/$rpp)+1; $arr = array(0); $arr_name = array(0); for($i=0;$i<$pn;$i++){ $arr[$i] = $i; $tmp = $i+1; $arr_name[$i] = "Page ".$tmp; } array_push($result,$arr); array_push($result,$arr_name); array_push($result,$loop); return $result; } function getSouvenirsList($alp,$cPageNo,$search,$orderBy,$priority,$rpp,$category){ $souvenirs = new Souvenirs(); $result = $souvenirs->getAllSouvenirs($alp,$cPageNo,$search,$orderBy,$priority,$rpp,$category); $loop = array_pop($result); $pn = ($loop%$rpp == 0)?$loop/$rpp:intval($loop/$rpp)+1; $arr = array(0); $arr_name = array(0); for($i=0;$i<$pn;$i++){ $arr[$i] = $i; $tmp = $i+1; $arr_name[$i] = "Page ".$tmp; } array_push($result,$arr); array_push($result,$arr_name); array_push($result,$loop); return $result; } } ?>
Notice: Undefined index: base in /data/welkin/welkin-multimedia.com/public_html/ob/index.php on line 9

Notice: Undefined variable: base in /data/welkin/welkin-multimedia.com/public_html/ob/index.php on line 34

Notice: Undefined variable: base in /data/welkin/welkin-multimedia.com/public_html/ob/index.php on line 35

Notice: Undefined variable: base in /data/welkin/welkin-multimedia.com/public_html/ob/index.php on line 36

Notice: Undefined variable: base in /data/welkin/welkin-multimedia.com/public_html/ob/index.php on line 37

Fatal error: Class 'Control' not found in /data/welkin/welkin-multimedia.com/public_html/ob/index.php on line 45