><?php _e($packagetype->package_type); ?> </option> <?php } } ?> </select> </div> </div> <?php if (count($packages) > 0) { foreach ($packages as $package) { $package_id = $package->id; $templeprices = templeprices($temple_id, " and package_id='{$package_id}'"); ?> <div class="e-mail package pack_<?php _e($package->package_type_id); ?> "> <div class="adress"><?php _e($package->title); ?> : </div> <div class="field"> <input type="text" name="price_<?php _e($package->id); ?> " value="<?php echo $templeprices[0]->price;
$cond = " and id!='{$temple_id}'"; $nearbytemples = nearbytemples($temple->latitude, $temple->longitude, $radius, $cond, 0, 20); $showimage = ''; if (trim($image) != '' && file_exists('wp-content/uploads/temples/' . $image)) { list($imgwidth) = getimagesize('wp-content/uploads/temples/' . $image); /*if($imgwidth>781){ $imagepath=get_option('home').'/wp-content/plugins/temple/imagecrope.php?width=781&maxw=781&height=330&maxh=330&file='.get_option('home').'/wp-content/uploads/temples/'.$image; } else {*/ $imagepath = get_option('home') . '/wp-content/uploads/temples/' . $image; //} $showimage = '<div class="detail_img"><img src="' . $imagepath . '" alt="' . $temple->name . '" width="781" /></div>'; } $booknow = false; $templeprices = templeprices($temple_id); if (count($templeprices) > 0) { $booknow = true; } ?> <!-- /HEADER --> <!-- HEADER TITLE--> <div class="container"> <?php get_sidebar(); ?> <div class="mid_content page_content"> <ul class="tabs"> <li><a href="#view1">Detail</a></li>