رفتن به مطلب

مشکل در جابه جایی نوشته ها


پست های پیشنهاد شده

سلام دوستان لینک زیر رو ببینید:

لینک

من می خوام اون قسمت عکس پایین را بیارم بالایه قسمت اطلاعات تماس بزارم و اونجا نمایش داده بشه باید کدوم کد را جابه جا کنم؟که مشکلی پیش نیاد هر کار می کنم نمی تونم درست کنم اینم کد ها

ممنون میشم کمک کنید.


<?php wp_reset_query(); ?>
<div class="zt_boxArea_12 ">
<div class="single_ADS_B1">
<?php zt_get_element('ADS_B1'); ?>
</div>
<div class="clear"></div>
<div class="zt_content">
<div class="zt_widgetHead">
<div class="zt_widgetHeadTitle">
<h2>
<?php wp_reset_query();?>
<?php the_title(); ?>
</h2>
</div>
<div class="zt_widgetHeadArchive">
<!--<a href="">
لیست کامل
<i class=""></i></a>-->
</div>
<div class="clear"></div>
</div>
<div class="zt_widgetBody zt_tour">
<?php
wp_reset_query();
while (have_posts()) {
the_post();
zt_tour_check_expire(get_the_ID());
$views = get_post_meta(get_the_ID(), 'views', TRUE);
$views = intval($views)+1;
add_post_meta(get_the_ID(), 'views', $views, TRUE)
OR update_post_meta(get_the_ID(), 'views', $views);
$is_feature = get_post_meta(get_the_ID(), 'zttour_is_feature', true);
$is_active = get_post_meta(get_the_ID(), 'zttour_is_active', true);
$is_last_tiem = get_post_meta(get_the_ID(), 'zttour_is_last_time', true);
$is_nowruz = get_post_meta(get_the_ID(), 'zttour_is_nowruz', true);
?>
<div class="single_tour <?php echo ($is_feature == 1) ? 'zttour_featured' : ''; ?> <?php echo ($is_last_tiem == 1) ? 'zttour_last_time' : ''; ?> <?php echo ($is_nowruz == 1) ? 'zttour_nowruz' : ''; ?>">
<div class="tour_content">
<?php
if ($is_active == 0) {
echo '<div class="zttour_expired">' . __('این تور منقضی شده است', 'ztframe_tour') . '</div>';
}
?>
<div class="tabletitle"><h4>اطلاعات تور</h4></div>
<table class="table" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td class="rightcolumn tour_vert_title">از</td>
<td class="tour_vert_value" align="right"><?php echo get_post_meta(get_the_ID(), 'zttour_source', TRUE); ?><br></td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">نوع سفر</td>
<?php
$trans = get_post_meta(get_the_ID(), 'zttour_transport', TRUE);
$trans_name = array('1' => 'هوایی', '2' => 'دریایی', '3' => 'زمینی با قطار', '4' => 'زمینی با اتوبوس');
$transer = get_post_meta(get_the_ID(), 'zttour_transporter', TRUE);
?>
<td class="tour_vert_value" align="right"><?php echo $trans_name[$trans] . ' - ' . $transer; ?></td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">قیمت از</td>
<?php
$price_from = get_post_meta(get_the_ID(), 'zttour_price_from', TRUE);
$price_dolar = get_post_meta(get_the_ID(), 'zttour_price_by_dolar', TRUE);
?>
<td class="tour_vert_value" align="right">
<?php
$price_from_ech = (is_numeric($price_from))?number_format($price_from):$price_from;
echo '<span class="number">'.$price_from_ech .'</span> تومان';
if (!empty($price_dolar)) {
echo ' + <span class="number">' . $price_dolar . '</span>';
}
?>
</td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">تاریخ</td>
<td class="tour_vert_value" align="right">
<span class="tour_start_date">
<?php
$from_date=get_post_meta(get_the_ID(), 'zttour_start_date', TRUE);
$from_date=jdate('j F Y',zt_strtotime($from_date));
echo 'تاریخ شروع تور : <span class="date">' . $from_date . '</span>';
?>
</span>
<span class="tour_end_date">
<?php
$to_date=get_post_meta(get_the_ID(), 'zttour_end_date', TRUE);
$to_date=jdate('j F Y',zt_strtotime($to_date));
echo ' ، تاریخ پایان تور : <span class="date">' . $to_date . '</span>'; ?>
</span>
</td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">مدارک لازم</td>
<td class="tour_vert_value" align="right"><?php echo nl2br(get_post_meta(get_the_ID(), 'zttour_docs', TRUE)); ?><br>
</td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">خدمات آژانس</td>
<td class="tour_vert_value" align="right"><?php echo nl2br(get_post_meta(get_the_ID(), 'zttour_service', TRUE)); ?></td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">توضيحات</td>
<td class="tour_vert_value" align="right"><?php echo nl2br(get_post_meta(get_the_ID(), 'zttour_description', TRUE)); ?></td>
</tr>
<?php if (function_exists('wprp')) { ?>
<tr>
<td class="rightcolumn tour_vert_title">گزارش تخلف</td>
<td class="tour_vert_value" align="right"><?php wprp(true); ?></td>
</tr>
<?php } ?>
</tbody>
</table>

<?php if ($is_active == 1) { ?>
<div class="tabletitle"><h4>اطلاعات تماس</h4></div>
<table class="table " cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td class="rightcolumn tour_vert_title">نام آژانس</td>
<td class="tour_vert_value" align="right">
<?php /* * * /?>
<a href="<?php echo get_author_posts_url(get_the_author_ID()); ?>"><?php echo get_the_author(); ?></a>
<?php /* * */ ?>
<a href="<?php echo get_author_posts_url(get_the_author_ID()); ?>"><?php echo get_user_meta(get_the_author_ID(), 'agency_name', true); ?></a>
</td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">تلفن</td>
<td class="tour_vert_value" align="right"><?php the_author_meta('tel'); ?></td>
</tr>
<?php /**/?>
<tr>
<td class="rightcolumn tour_vert_title">ایمیل</td>
<td class="tour_vert_value" align="right"><a href="mailto:<?php the_author_email(); ?>" target="_blank"><?php the_author_email(); ?></a></td>
</tr>
<?php /**/?>
<tr>
<td class="rightcolumn tour_vert_title">وب سایت</td>
<td class="tour_vert_value" align="right"><a href="<?php the_author_meta('url'); ?>" target="_blank"><?php the_author_meta('url'); ?></a></td>
</tr>
</tbody>
</table>
<?php } ?>
<div class="tabletitle"><h4>به</h4></div>
<table class="table tour_table tour_destination" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr class="tablerow">
<td class="horis_title">نام</td>
<td class="horis_title">مدت اقامت</td>
<td class="horis_title">توضيحات</td>
</tr>
<?php
$destination = get_post_meta(get_the_ID(), 'zttour_destination', TRUE);
$stay = get_post_meta(get_the_ID(), 'zttour_stay', TRUE);
$dest_description = get_post_meta(get_the_ID(), 'zttour_dest_description', TRUE);
if(is_array($destination))
foreach ($destination as $dk => $dst) {
?>
<tr>
<td><?php echo $dst; ?></td>
<td><?php echo $stay[$dk]; ?> شب</td>
<td><?php echo $dest_description[$dk]; ?></td>
</tr>
<?php
}
?>
</tbody>
</table>
<div class="tabletitle"><h4>هتل‌ها</h4></div>
<table class="table tour_table tour_hotel" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<?php
$h_name = get_post_meta(get_the_ID(), 'zttour_hotel_name', TRUE);
$h_rate = get_post_meta(get_the_ID(), 'zttour_hotel_rate', TRUE);
$h_service = get_post_meta(get_the_ID(), 'zttour_hotel_service', TRUE);
$h_link = get_post_meta(get_the_ID(), 'zttour_hotel_link', TRUE);
$h_description = get_post_meta(get_the_ID(), 'zttour_hotel_description', TRUE);
$hotel_title_1 = get_post_meta(get_the_ID(), 'zttour_hotel_title_1', TRUE);
$hotel_price_1 = get_post_meta(get_the_ID(), 'zttour_hotel_price_1', TRUE);
$hotel_title_2 = get_post_meta(get_the_ID(), 'zttour_hotel_title_2', TRUE);
$hotel_price_2 = get_post_meta(get_the_ID(), 'zttour_hotel_price_2', TRUE);
$hotel_title_3 = get_post_meta(get_the_ID(), 'zttour_hotel_title_3', TRUE);
$hotel_price_3 = get_post_meta(get_the_ID(), 'zttour_hotel_price_3', TRUE);
$hotel_title_4 = get_post_meta(get_the_ID(), 'zttour_hotel_title_4', TRUE);
$hotel_price_4 = get_post_meta(get_the_ID(), 'zttour_hotel_price_4', TRUE);
$hotel_title_5 = get_post_meta(get_the_ID(), 'zttour_hotel_title_5', TRUE);
$hotel_price_5 = get_post_meta(get_the_ID(), 'zttour_hotel_price_5', TRUE);
$title_array = array_filter(array($hotel_title_1[0], $hotel_title_2[0], $hotel_title_3[0], $hotel_title_4[0], $hotel_title_5[0]));
$price_array = array($hotel_price_1, $hotel_price_2, $hotel_price_3, $hotel_price_4, $hotel_price_5);
?>
<tr class="tablerow">
<td class="horis_title hotel_name">نام هتل</td>
<td class="horis_title">خدمات هتل</td>
<?php
if(is_array($title_array))
foreach ($title_array as $title) {
echo '<td class="horis_title">' . $title . '</td>';
}
?>
<td class="horis_title">توضيحات</td>
</tr>
<?php
if(is_array($h_name))
foreach ($h_name as $hk => $hotel_name) {
?>
<tr>
<td class="hotel_names">
<?php foreach ($hotel_name as $k => $v) { ?>
<p class="a_hotel">
<?php
$temp_link = $h_link[$hk][$k];
if(empty($temp_link)){
$temp_link='#';
}elseif(strpos($temp_link, 'http://')===FALSE AND strpos($temp_link, 'https://')===FALSE ){
$temp_link='http://'.$temp_link;
}
?>
<a href="<?php echo $temp_link; ?>" target="_blank"><?php echo $v; ?></a>
<br/>
<span class="hotel_stars">
<?php
if (!is_numeric($h_rate[$hk][$k])) {
echo '<span class="h_n_type">' . $h_rate[$hk][$k] . '</span>';
} else {
?>
<?php for ($s = 1; $s <= $h_rate[$hk][$k]; $s++) { ?>
<i class="fa fa-star"></i>
<?php
}
}
?>
</span>
</p>
<?php } ?>
</td>
<td class="hotel_services">
<?php foreach ($hotel_name as $k => $v) { ?>
<p class="a_hotel hotel_service">
<?php echo $h_service[$hk][$k]; ?>
</p>
<?php } ?>
</td>
<?php
foreach ($title_array as $tk => $title) {
$price = (is_numeric($price_array[$tk][$hk]))? number_format($price_array[$tk][$hk]):$price_array[$tk][$hk];
echo '<td class="hotel_price">';
echo '<span class="number">'.$price.' تومان </span>';
echo '</td>';
}
?>
<td class="hotel_desc"><?php echo $h_description[$hk]; ?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
<?php } ?>
<div class="tour_relateds">
<?php zt_get_element('tour_related'); ?>
<?php zt_get_element('tour_latest'); ?>
</div>
<div class="single_ADS_B2">
<?php zt_get_element('ADS_B2'); ?>
</div>
<div class="clear"></div>
<?php
wp_reset_query();
while (have_posts()) {
the_post();
?>
<?php the_content(); ?>
<div class="clear"></div>
<div class="tour_tags">
<div class="comment_title"><h4>برچسب ها</h4></div>
<div class="tour_tag">
<?php the_tags('','','') ?>
</div>
</div>
<div class="clear"></div>
<div class="tour_comments">
<div class="comment_title"><h4>نظرات</h4></div>
<div class="comment_title">
<?php zt_get_comment() ?>
</div>
</div>
<?php } ?>
</div>
<div class="zt_widgetFoot"></div>
<div class="clear"></div>
</div>
</div>

لینک به ارسال

سلام بیشتر توضیح بدین. چند بار خوندم متوجه نشدم کجا رو میگین :mellow:

یا تصویری توضیح بدین

لینک به ارسال

سلام بیشتر توضیح بدین. چند بار خوندم متوجه نشدم کجا رو میگین :mellow:

یا تصویری توضیح بدین

سلام عزیز ببینید در قسمت لینکی که گذاشتم یک قسمت زیر نوشته ها را نشون می دهد که یک عکس اپلود کردم گذاشتم(عکس پکیج) بالایه قسمت برچسب ها . اون قسمت می خوام در قسمت بالایه اطلاعات تماس نمایش داده بشه!یعنی کدش رو بیاریم اون بالا بزارم اما نمی دونم باید چیکار کنم؟!

اینم عکس:

اینو زمانی می خوام پست بزارم هر مطلبی و هر عکس می زارم اینجا نشون داده میشه اما می خوام این قسمت کلا بیاد بالایه قسمت اطلاعات تماس نشان داده بشه نه اون پایین پایین.

post-2637-0-90298300-1445074282_thumb.pn

post-2637-0-64000000-1445074406_thumb.pn

لینک به ارسال

تست کنید:


<?php wp_reset_query(); ?>
<div class="zt_boxArea_12 ">
<div class="single_ADS_B1">
<?php zt_get_element('ADS_B1'); ?>
</div>
<div class="clear"></div>
<div class="zt_content">
<div class="zt_widgetHead">
<div class="zt_widgetHeadTitle">
<h2>
<?php wp_reset_query();?>
<?php the_title(); ?>
</h2>
</div>
<div class="zt_widgetHeadArchive">
<!--<a href="">
ليست کامل
<i class=""></i></a>-->
</div>
<div class="clear"></div>
</div>
<div class="zt_widgetBody zt_tour">
<?php
wp_reset_query();
while (have_posts()) {
the_post();
zt_tour_check_expire(get_the_ID());
$views = get_post_meta(get_the_ID(), 'views', TRUE);
$views = intval($views)+1;
add_post_meta(get_the_ID(), 'views', $views, TRUE)
OR update_post_meta(get_the_ID(), 'views', $views);
$is_feature = get_post_meta(get_the_ID(), 'zttour_is_feature', true);
$is_active = get_post_meta(get_the_ID(), 'zttour_is_active', true);
$is_last_tiem = get_post_meta(get_the_ID(), 'zttour_is_last_time', true);
$is_nowruz = get_post_meta(get_the_ID(), 'zttour_is_nowruz', true);
?>
<div class="single_tour <?php echo ($is_feature == 1) ? 'zttour_featured' : ''; ?> <?php echo ($is_last_tiem == 1) ? 'zttour_last_time' : ''; ?> <?php echo ($is_nowruz == 1) ? 'zttour_nowruz' : ''; ?>">
<div class="tour_content">
<?php
if ($is_active == 0) {
echo '<div class="zttour_expired">' . __('اين تور منقضي شده است', 'ztframe_tour') . '</div>';
}
?>
<div class="tabletitle"><h4>اطلاعات تور</h4></div>
<table class="table" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td class="rightcolumn tour_vert_title">از</td>
<td class="tour_vert_value" align="right"><?php echo get_post_meta(get_the_ID(), 'zttour_source', TRUE); ?><br></td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">نوع سفر</td>
<?php
$trans = get_post_meta(get_the_ID(), 'zttour_transport', TRUE);
$trans_name = array('1' => 'هوايي', '2' => 'دريايي', '3' => 'زميني با قطار', '4' => 'زميني با اتوبوس');
$transer = get_post_meta(get_the_ID(), 'zttour_transporter', TRUE);
?>
<td class="tour_vert_value" align="right"><?php echo $trans_name[$trans] . ' - ' . $transer; ?></td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">قيمت از</td>
<?php
$price_from = get_post_meta(get_the_ID(), 'zttour_price_from', TRUE);
$price_dolar = get_post_meta(get_the_ID(), 'zttour_price_by_dolar', TRUE);
?>
<td class="tour_vert_value" align="right">
<?php
$price_from_ech = (is_numeric($price_from))?number_format($price_from):$price_from;
echo '<span class="number">'.$price_from_ech .'</span> تومان';
if (!empty($price_dolar)) {
echo ' + <span class="number">' . $price_dolar . '</span>';
}
?>
</td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">تاريخ</td>
<td class="tour_vert_value" align="right">
<span class="tour_start_date">
<?php
$from_date=get_post_meta(get_the_ID(), 'zttour_start_date', TRUE);
$from_date=jdate('j F Y',zt_strtotime($from_date));
echo 'تاريخ شروع تور : <span class="date">' . $from_date . '</span>';
?>
</span>
<span class="tour_end_date">
<?php
$to_date=get_post_meta(get_the_ID(), 'zttour_end_date', TRUE);
$to_date=jdate('j F Y',zt_strtotime($to_date));
echo ' ، تاريخ پايان تور : <span class="date">' . $to_date . '</span>'; ?>
</span>
</td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">مدارک لازم</td>
<td class="tour_vert_value" align="right"><?php echo nl2br(get_post_meta(get_the_ID(), 'zttour_docs', TRUE)); ?><br>
</td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">خدمات آژانس</td>
<td class="tour_vert_value" align="right"><?php echo nl2br(get_post_meta(get_the_ID(), 'zttour_service', TRUE)); ?></td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">توضيحات</td>
<td class="tour_vert_value" align="right"><?php echo nl2br(get_post_meta(get_the_ID(), 'zttour_description', TRUE)); ?></td>
</tr>
<?php if (function_exists('wprp')) { ?>
<tr>
<td class="rightcolumn tour_vert_title">گزارش تخلف</td>
<td class="tour_vert_value" align="right"><?php wprp(true); ?></td>
</tr>
<?php } ?>
</tbody>
</table>
<?php
wp_reset_query();
while (have_posts()) {
the_post();
?>
<?php the_content(); ?>
<?php if ($is_active == 1) { ?>
<div class="tabletitle"><h4>اطلاعات تماس</h4></div>
<table class="table " cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr>
<td class="rightcolumn tour_vert_title">نام آژانس</td>
<td class="tour_vert_value" align="right">
<?php /* * * /?>
<a href="<?php echo get_author_posts_url(get_the_author_ID()); ?>"><?php echo get_the_author(); ?></a>
<?php /* * */ ?>
<a href="<?php echo get_author_posts_url(get_the_author_ID()); ?>"><?php echo get_user_meta(get_the_author_ID(), 'agency_name', true); ?></a>
</td>
</tr>
<tr>
<td class="rightcolumn tour_vert_title">تلفن</td>
<td class="tour_vert_value" align="right"><?php the_author_meta('tel'); ?></td>
</tr>
<?php /**/?>
<tr>
<td class="rightcolumn tour_vert_title">ايميل</td>
<td class="tour_vert_value" align="right"><a href="mailto:<?php the_author_email(); ?>" target="_blank"><?php the_author_email(); ?></a></td>
</tr>
<?php /**/?>
<tr>
<td class="rightcolumn tour_vert_title">وب سايت</td>
<td class="tour_vert_value" align="right"><a href="<?php the_author_meta('url'); ?>" target="_blank"><?php the_author_meta('url'); ?></a></td>
</tr>
</tbody>
</table>
<?php } ?>
<div class="tabletitle"><h4>به</h4></div>
<table class="table tour_table tour_destination" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<tr class="tablerow">
<td class="horis_title">نام</td>
<td class="horis_title">مدت اقامت</td>
<td class="horis_title">توضيحات</td>
</tr>
<?php
$destination = get_post_meta(get_the_ID(), 'zttour_destination', TRUE);
$stay = get_post_meta(get_the_ID(), 'zttour_stay', TRUE);
$dest_description = get_post_meta(get_the_ID(), 'zttour_dest_description', TRUE);
if(is_array($destination))
foreach ($destination as $dk => $dst) {
?>
<tr>
<td><?php echo $dst; ?></td>
<td><?php echo $stay[$dk]; ?> شب</td>
<td><?php echo $dest_description[$dk]; ?></td>
</tr>
<?php
}
?>
</tbody>
</table>
<div class="tabletitle"><h4>هتل‌ها</h4></div>
<table class="table tour_table tour_hotel" cellpadding="0" cellspacing="0" width="100%">
<tbody>
<?php
$h_name = get_post_meta(get_the_ID(), 'zttour_hotel_name', TRUE);
$h_rate = get_post_meta(get_the_ID(), 'zttour_hotel_rate', TRUE);
$h_service = get_post_meta(get_the_ID(), 'zttour_hotel_service', TRUE);
$h_link = get_post_meta(get_the_ID(), 'zttour_hotel_link', TRUE);
$h_description = get_post_meta(get_the_ID(), 'zttour_hotel_description', TRUE);
$hotel_title_1 = get_post_meta(get_the_ID(), 'zttour_hotel_title_1', TRUE);
$hotel_price_1 = get_post_meta(get_the_ID(), 'zttour_hotel_price_1', TRUE);
$hotel_title_2 = get_post_meta(get_the_ID(), 'zttour_hotel_title_2', TRUE);
$hotel_price_2 = get_post_meta(get_the_ID(), 'zttour_hotel_price_2', TRUE);
$hotel_title_3 = get_post_meta(get_the_ID(), 'zttour_hotel_title_3', TRUE);
$hotel_price_3 = get_post_meta(get_the_ID(), 'zttour_hotel_price_3', TRUE);
$hotel_title_4 = get_post_meta(get_the_ID(), 'zttour_hotel_title_4', TRUE);
$hotel_price_4 = get_post_meta(get_the_ID(), 'zttour_hotel_price_4', TRUE);
$hotel_title_5 = get_post_meta(get_the_ID(), 'zttour_hotel_title_5', TRUE);
$hotel_price_5 = get_post_meta(get_the_ID(), 'zttour_hotel_price_5', TRUE);
$title_array = array_filter(array($hotel_title_1[0], $hotel_title_2[0], $hotel_title_3[0], $hotel_title_4[0], $hotel_title_5[0]));
$price_array = array($hotel_price_1, $hotel_price_2, $hotel_price_3, $hotel_price_4, $hotel_price_5);
?>
<tr class="tablerow">
<td class="horis_title hotel_name">نام هتل</td>
<td class="horis_title">خدمات هتل</td>
<?php
if(is_array($title_array))
foreach ($title_array as $title) {
echo '<td class="horis_title">' . $title . '</td>';
}
?>
<td class="horis_title">توضيحات</td>
</tr>
<?php
if(is_array($h_name))
foreach ($h_name as $hk => $hotel_name) {
?>
<tr>
<td class="hotel_names">
<?php foreach ($hotel_name as $k => $v) { ?>
<p class="a_hotel">
<?php
$temp_link = $h_link[$hk][$k];
if(empty($temp_link)){
$temp_link='#';
}elseif(strpos($temp_link, 'http://')===FALSE AND strpos($temp_link, 'https://')===FALSE ){
$temp_link='http://'.$temp_link;
}
?>
<a href="<?php echo $temp_link; ?>" target="_blank"><?php echo $v; ?></a>
<br/>
<span class="hotel_stars">
<?php
if (!is_numeric($h_rate[$hk][$k])) {
echo '<span class="h_n_type">' . $h_rate[$hk][$k] . '</span>';
} else {
?>
<?php for ($s = 1; $s <= $h_rate[$hk][$k]; $s++) { ?>
<i class="fa fa-star"></i>
<?php
}
}
?>
</span>
</p>
<?php } ?>
</td>
<td class="hotel_services">
<?php foreach ($hotel_name as $k => $v) { ?>
<p class="a_hotel hotel_service">
<?php echo $h_service[$hk][$k]; ?>
</p>
<?php } ?>
</td>
<?php
foreach ($title_array as $tk => $title) {
$price = (is_numeric($price_array[$tk][$hk]))? number_format($price_array[$tk][$hk]):$price_array[$tk][$hk];
echo '<td class="hotel_price">';
echo '<span class="number">'.$price.' تومان </span>';
echo '</td>';
}
?>
<td class="hotel_desc"><?php echo $h_description[$hk]; ?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
<?php } ?>
<div class="tour_relateds">
<?php zt_get_element('tour_related'); ?>
<?php zt_get_element('tour_latest'); ?>
</div>
<div class="single_ADS_B2">
<?php zt_get_element('ADS_B2'); ?>
</div>
<div class="clear"></div>

<div class="clear"></div>
<div class="tour_tags">
<div class="comment_title"><h4>برچسب ها</h4></div>
<div class="tour_tag">
<?php the_tags('','','') ?>
</div>
</div>
<div class="clear"></div>
<div class="tour_comments">
<div class="comment_title"><h4>نظرات</h4></div>
<div class="comment_title">
<?php zt_get_comment() ?>
</div>
</div>
<?php } ?>
</div>
<div class="zt_widgetFoot"></div>
<div class="clear"></div>
</div>
</div>

لینک به ارسال
تست کنید:
 





[b] [/b]




' . __('اين تور منقضي شده است', 'ztframe_tour') . ''; } ?>

[b] اطلاعات تور[/b]
'هوايي', '2' => 'دريايي', '3' => 'زميني با قطار', '4' => 'زميني با اتوبوس'); $transer = get_post_meta(get_the_ID(), 'zttour_transporter', TRUE); ?> از نوع سفر قيمت از '.$price_from_ech .' تومان'; if (!empty($price_dolar)) { echo ' + ' . $price_dolar . ''; } ?> تاريخ ' . $from_date . ''; ?> ' . $to_date . ''; ?> مدارک لازم خدمات آژانس توضيحات گزارش تخلف

[b] اطلاعات تماس[/b]
نام آژانس تلفن ايميل وب سايت

[b] به[/b]
$dst) { ?> نام مدت اقامت توضيحات شب

[b] هتل‌ها[/b]
' . $title . ''; } ?> $hotel_name) { ?> $title) { $price = (is_numeric($price_array[$tk][$hk]))? number_format($price_array[$tk][$hk]):$price_array[$tk][$hk]; echo ''; } ?> نام هتل خدمات هتل توضيحات $v) { ?>

' . $h_rate[$hk][$k] . ''; } else { ?> $v) { ?> '; echo ''.$price.' تومان '; echo '




[b] برچسب ها[/b]




[b] نظرات[/b]



نه عزیز درست نشد ارور داد

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...