Пример #1
0
    echo translate("Details");
    ?>
 </th>
                        </tr>

        <?php 
    foreach ($result->result() as $row) {
        ?>
                            <tr>
                                <td width="15%"> <p class="View_my_Accept_Bg"><span><?php 
        echo $row->name;
        ?>
</span></p> </td>
                                <td width="30%">
                                    <p> <?php 
        echo get_user_times($row->checkin, get_user_timezone()) . ' - ' . get_user_times($row->checkout, get_user_timezone());
        ?>
 </p> <br />
                                    <p class="clsBold"> <?php 
        echo anchor('rooms/' . $row->list_id, get_list_by_id($row->list_id)->title);
        ?>
 </p> 
                                    <p> <?php 
        echo get_list_by_id($row->list_id)->address;
        ?>
 </p> 
                                </td>
                                <td width="25%">
                                    <p> <img height="50" width="50" alt="image" style="float:left; margin:0 10px 10px 0;" src="<?php 
        echo $this->Gallery->profilepic($row->userby, 2);
        ?>
Пример #2
0
            foreach ($result->result() as $row) {
                echo $this->db->where('id', $row->category_id)->get('neigh_category')->row()->category . ',';
            }
        }
        ?>
			  </td>
			  <td><?php 
        if ($place->is_featured == 0) {
            echo translate_admin('No');
        } else {
            echo translate_admin('Yes');
        }
        ?>
</td>
			  <td><?php 
        echo get_user_times($place->created, get_user_timezone());
        ?>
</td>
			  <td><a href="<?php 
        echo admin_url('neighbourhoods/editcity_place/' . $place->id);
        ?>
">
                <img src="<?php 
        echo base_url();
        ?>
images/edit-new.png" alt="Edit" title="Edit" /></a>
			      <a href="<?php 
        echo admin_url('neighbourhoods/deletecity_place/' . $place->id);
        ?>
" onclick="return confirm('Are you sure want to delete??');"><img src="<?php 
        echo base_url();
Пример #3
0
        ?>
" alt="Profile" /> 
					</a>
                    <left><span class="apt_username1"><?php 
        echo ucfirst(get_user_by_id($row->userby)->username);
        ?>
</span>
                  </left></div>
                  <div class="Sta_Rat_Msg clsFloatRight col-md-9 col-sm-8 col-xs-12">
                    <p><?php 
        echo $row->review;
        ?>
</p>

                    <p class="apt_review"><?php 
        echo get_user_times($row->created, get_user_timezoneL($row->userby));
        ?>
</p>

                    <span class="StaMsg_LeftArrow"></span> </div>
                  <div class="clearfix"></div>
                </li>
                <?php 
    }
} else {
    echo translate("No reviews found.");
    ?>
		  <div class="reputation_content">
		  	     <?php 
    //echo translate("No reviews found.");
    ?>
Пример #4
0
        ?>
</td>
			  <td><?php 
        echo $photographer->photographer_web;
        ?>
</td>
			   <td><?php 
        if ($photographer->is_featured == 0) {
            echo translate_admin('No');
        } else {
            echo translate_admin('Yes');
        }
        ?>
</td>
			  <td><?php 
        echo get_user_times($photographer->created, get_user_timezone());
        ?>
</td>
			  <td><a href="<?php 
        echo admin_url('neighbourhoods/editphotographer/' . $photographer->id);
        ?>
">
                <img src="<?php 
        echo base_url();
        ?>
images/edit-new.png" alt="Edit" title="Edit" /></a>
			      <a href="<?php 
        echo admin_url('neighbourhoods/deletephotographer/' . $photographer->id);
        ?>
" onclick="return confirm('Are you sure want to delete??');"><img src="<?php 
        echo base_url();
Пример #5
0
        echo $Admin_key->id;
        ?>
"  />&#160;&#160;<?php 
        echo $i++;
        ?>
</td>
			  <td><?php 
        echo $Admin_key->page_key;
        ?>
</td>
			  <!--<td><?php 
        echo $Admin_key->page_refer;
        ?>
</td>-->
			  <td><?php 
        echo get_user_times($Admin_key->created, get_user_timezone());
        ?>
</td>
			 <?php 
        if ($Admin_key->status == '0') {
            $status = translate_admin('Active');
        } else {
            $status = translate_admin('In Active');
        }
        ?>
			  <td><?php 
        echo $status;
        ?>
</td>
			  <td><a href="<?php 
        echo admin_url('admin_key/editAdmin_key/' . $Admin_key->id);
Пример #6
0
echo translate("Check in");
?>
</span></span>
<span class="data col-md-8 col-sm-7 col-xs-12"><span class="inner"><?php 
echo get_user_times($result->checkin, get_user_timezone());
?>
</span></span>
</li>

<li class="clearfix">
<span class="label col-md-4 col-sm-5 col-xs-12"><span class="inner"><span class="checkout_icon" id="icon_cal"></span><?php 
echo translate("Check out");
?>
</span></span>
<span class="data col-md-8 col-sm-7 col-xs-12"><span class="inner"><?php 
echo get_user_times($result->checkout, get_user_timezone());
?>
</span></span>
</li>

<li class="clearfix">
<span class="label col-md-4 col-sm-5 col-xs-12"><span class="inner"><span class="checkout_icon" id="icon_cal"></span><?php 
echo translate("Nights");
?>
</span></span>
<span class="data col-md-8 col-sm-7 col-xs-12"><span class="inner"><?php 
echo $nights;
?>
</span></span>
</li>
Пример #7
0
      <li class="top col-md-12 col-sm-12 col-xs-12 padding-zero"> <span class="label col-md-3 col-sm-3 col-xs-12"><span class="inner"><span class="checkout_icon" id="icon_check_in"></span><?php 
    echo translate("Check in");
    ?>
</span></span> <span class="data col-md-9 col-sm-9 col-xs-12"><span class="inner"> <?php 
    echo get_user_times(get_gmt_time(strtotime($checkin)), get_user_timezone());
    ?>
 <em class="check_in_out_time"><?php 
    echo translate("(Flexible check in time)");
    ?>
</em></span></span> </li>
						
      <li class="col-md-12 col-sm-12 col-xs-12 padding-zero"> <span class="label col-md-3 col-sm-3 col-xs-12"><span class="inner"><span class="checkout_icon" id="icon_check_out"></span><?php 
    echo translate("Check out");
    ?>
</span></span> <span class="data col-md-9 col-sm-9 col-xs-12"><span class="inner"> <?php 
    echo get_user_times(get_gmt_time(strtotime($checkout)), get_user_timezone());
    ?>
 <em class="check_in_out_time"><?php 
    echo translate("(Flexible check out time)");
    ?>
</em></span></span> </li>
						
      <li class=" col-md-12 col-sm-12 col-xs-12 padding-zero"> <span class="label col-md-3 col-sm-3 col-xs-12"><span class="inner"><span class="checkout_icon" id="icon_nights"></span><?php 
    echo translate("Nights");
    ?>
</span></span> <span class="data col-md-9 col-sm-9 col-xs-12"><span class="inner"><?php 
    echo $days;
    ?>
</span></span> </li>
						      
      <li class="bottom col-md-12 col-sm-12 col-xs-12 padding-zero"> <span class="label col-md-3 col-sm-3 col-xs-12"><span class="inner"><span class="checkout_icon" id="icon_person"></span><?php 
Пример #8
0
        ?>
 </td>
                                    <td><?php 
        echo $booker_name;
        ?>
 </td>
                                    <td><?php 
        echo $hotelier_name;
        ?>
 </td>
                                    <td><?php 
        echo get_user_times($row->checkin, get_user_timezone());
        ?>
 </td>
                                    <td><?php 
        echo get_user_times($row->checkout, get_user_timezone());
        ?>
 </td>
                                    <td><?php 
        echo get_currency_symbol($row->list_id) . get_currency_value1($row->list_id, $row->price);
        ?>
 </td>
                                    <td><?php 
        echo $row->name;
        ?>
                                </tr>
        <?php 
    }
    ?>

                        </tbody>
Пример #9
0
        <div>
            <div class="clsH1_long_Border">
                <?php 
//print_r($user->username);exit;
?>
                <h1> <?php 
echo ucfirst($user->username);
?>
                    <?php 
if ($this->dx_auth->is_logged_in() || $this->facebook_lib->logged_in()) {
    ?>
                            <span style="float:right;"><?php 
    echo translate("Member from");
    ?>
 <?php 
    echo get_user_times($user->created, get_user_timezone());
    ?>
</span> 
    <?php 
}
?>
                </h1>
            </div>
            <div style="clear:both"></div>
        </div>
        <div style="clear:both"></div>
        <div id="left">
            <div id="user_box" class="Box">
                <div class="Box_Content">
                    <div id="user_pic" onClick="show_ajax_image_box();" style="text-align:center; padding:0 0 10px 0;"> 
Пример #10
0
        ?>
					
			 <tr>
			  <td><input type="checkbox" class="clsNoborder" name="pagelist[]" id="pagelist[]" value="<?php 
        echo $category->id;
        ?>
"  />&#160;&#160;<?php 
        echo $i++;
        ?>
</td>
			  <td><?php 
        echo $category->category;
        ?>
</td>
			  <td><?php 
        echo get_user_times($category->created, get_user_timezone());
        ?>
</td>
			  <td><a href="<?php 
        echo admin_url('neighbourhoods/editcategory/' . $category->id);
        ?>
">
                <img src="<?php 
        echo base_url();
        ?>
images/edit-new.png" alt="Edit" title="Edit" /></a>
			      <a href="<?php 
        echo admin_url('neighbourhoods/deletecategory/' . $category->id);
        ?>
" onclick="return confirm('Are you sure want to delete??');"><img src="<?php 
        echo base_url();
Пример #11
0
    echo $reset_message;
}
// Show error
echo validation_errors();
$tmpl = array('table_open' => '<table class="table" border="0" cellpadding="4" cellspacing="0">', 'heading_row_start' => '<tr>', 'heading_row_end' => '</tr>', 'heading_cell_start' => '<th>', 'heading_cell_end' => '</th>', 'row_start' => '<tr>', 'row_end' => '</tr>', 'cell_start' => '<td>', 'cell_end' => '</td>', 'row_alt_start' => '<tr>', 'row_alt_end' => '</tr>', 'cell_alt_start' => '<td>', 'cell_alt_end' => '</td>', 'table_close' => '</table>');
$this->table->set_template($tmpl);
$this->table->set_heading('', translate_admin('Username'), translate_admin('Email'), translate_admin('Role'), translate_admin('Banned'), translate_admin('Last IP'), translate_admin('Last login'), translate_admin('Created'), translate_admin('Edit'), translate_admin('Change Password'));
foreach ($users as $user) {
    if ($this->db->where('id', $user->id)->get('profiles')->num_rows() != 0) {
        if ($user->role_id == 2) {
            $role = 'admin';
        } else {
            $role = 'user';
        }
        $banned = $user->banned == 1 ? 'Yes' : 'No';
        $this->table->add_row(form_checkbox('checkbox_' . $user->id, $user->id), $user->username, $user->email, $role, $banned, $user->last_ip, get_user_times($user->last_login, get_user_timezone()), get_user_times($user->created, get_user_timezone()), anchor('administrator/members/edit/' . $user->id, translate_admin('Edit')), anchor('administrator/members/changepassword/' . $user->id, translate_admin('change passwords')));
    }
}
echo '<div class="clsFloatRight">';
echo '<form name="myform" action="' . site_url('administrator/members/getusers') . '" method="post">';
?>
                <!-- //echo '<b>Search Username / Email</b><input type="text" name="usersearch" id="usersearch" style="margin:0 10px; height:23px;">'; -->		
<b><?php 
echo translate_admin('Search Username / Email');
?>
</b><input type="text" name="usersearch" id="usersearch" style="margin:0 10px; height:23px;">

        <!--  echo '<input type="submit" name="search" value="Search">'; -->
<input type="submit" name="search" value="<?php 
echo translate_admin('Search');
?>
Пример #12
0
            
            <?php 
    foreach ($result->result() as $row) {
        $type = $row->accept_pay;
        ?>
            <tr>
            <td><?php 
        echo get_user_times($row->created, get_user_timezone());
        ?>
 </td>
            <td><?php 
        echo $type;
        ?>
 </td>
            <td><?php 
        echo get_user_times($row->checkin, get_user_timezone()) . ' - ' . get_user_times($row->checkout, get_user_timezone()) . '<br>' . $row->title;
        ?>
 </td>
            <td><?php 
        echo get_currency_symbol($row->list_id) . get_currency_value_lys($row->currency, get_currency_code(), $row->topay);
        ?>
 </td>
			<td><?php 
        echo urldecode($row->payout_id);
        ?>
            </tr>
            <?php 
    }
    ?>
            
            </tbody>
Пример #13
0
echo translate("Check in");
?>
</span></span>
<span class="data col-md-8 col-sm-7 col-xs-12"><span class="inner"><?php 
echo get_user_times($checkin, get_user_timezone());
?>
</span></span>
</li>

<li class="clearfix">
<span class="label col-md-4 col-sm-5 col-xs-12"><span class="inner"><span class="checkout_icon" id="icon_cal"></span><?php 
echo translate("Check out");
?>
</span></span>
<span class="data col-md-8 col-sm-7 col-xs-12"><span class="inner"><?php 
echo get_user_times($checkout, get_user_timezone());
?>
</span></span>
</li>

<li class="clearfix">
<span class="label col-md-4 col-sm-5 col-xs-12"><span class="inner"><span class="checkout_icon" id="icon_cal"></span><?php 
echo translate("Night");
?>
</span></span>
<span class="data col-md-8 col-sm-7 col-xs-12"><span class="inner"><?php 
echo $nights;
?>
</span></span>
</li>
Пример #14
0
        ?>
</td>
                            <td><?php 
        echo word_limiter($help->description, 7);
        ?>
</td>
                            <td><li class="clsMailId">/<?php 
        echo $help->page_refer;
        ?>
</li></td>
                        <td><?php 
        echo get_user_times($help->created, get_user_timezone());
        ?>
</td>
                        <td><?php 
        echo get_user_times($help->modified_date, get_user_timezone());
        ?>
</td>
                        <?php 
        if ($help->status == '0') {
            $status = 'Active';
        } else {
            $status = 'In Active';
        }
        ?>
                        <td><?php 
        echo $status;
        ?>
</td>
                        <td><a href="<?php 
        echo admin_url('help/edithelp/' . $help->id);
Пример #15
0
                <?php 
            echo $message->name;
            ?>
 <?php 
            echo translate("about");
            ?>
 "<?php 
            echo anchor('rooms/' . $message->list_id, get_list_by_id($message->list_id)->title);
            ?>
"
                                                    </p>
                                                    <!--<?php 
            if ($message->message_type != 6) {
                ?>
                                                        <p><label><?php 
                echo get_user_times($message->checkin, get_user_timezone()) . ' - ' . get_user_times($message->checkout, get_user_timezone());
                ?>
</label><label><?php 
                echo $message->no_quest . ' ' . translate("guest");
                ?>
</label></p>
                <?php 
            }
            ?>
-->
                                                    <span class="clsTypeConver_Arow1"></span>
                                                </div>
                                            <?php 
        }
        ?>
Пример #16
0
    echo translate("Decline");
    ?>
</a>
                                                <div id="expired" style="display: none"><?php 
    echo translate('Expired');
    ?>
</div>
                                                <div id="accept" style="display:none">
                                                    <form name="accept_req" action="<?php 
    echo site_url('trips/accept');
    ?>
" method="post">
                                                        <p>
                                                            <input type="checkbox" id="block_date" name="block_date" />
        <?php 
    echo translate("Block my calendar from") . " " . get_user_times($result->checkin, get_user_timezone()) . " " . translate("through") . " " . get_user_times($result->checkout, get_user_timezone());
    ?>
                                                        </p>

                                                        <p><?php 
    echo translate("Type optional message to guest") . "...";
    ?>
</p>

                                                        <p><textarea name="comment" id="comment"></textarea></p>

                                                        <p>
                                                            <input type="hidden" id="checkout" name="reservation_id" value="<?php 
    echo $result->id;
    ?>
" />
Пример #17
0
        ?>
</td>
			  <td><?php 
        echo word_limiter($city->known, 4);
        ?>
</td>
			  <td><?php 
        if ($city->is_home == 0) {
            echo translate_admin('No');
        } else {
            echo translate_admin('Yes');
        }
        ?>
</td>
			  <td><?php 
        echo get_user_times($city->created, get_user_timezone());
        ?>
</td>
			  <td><a href="<?php 
        echo admin_url('neighbourhoods/editcity/' . $city->id);
        ?>
">
                <img src="<?php 
        echo base_url();
        ?>
images/edit-new.png" alt="Edit" title="Edit" /></a>
			      <a href="<?php 
        echo admin_url('neighbourhoods/deletecity/' . $city->id);
        ?>
" onclick="return confirm('Are you sure want to delete??');"><img src="<?php 
        echo base_url();
Пример #18
0
        ?>
</td>
                            <td><?php 
        echo word_limiter($post->image_desc, 4);
        ?>
</td>
                            <td><?php 
        if ($post->is_featured == 0) {
            echo translate_admin('No');
        } else {
            echo translate_admin('Yes');
        }
        ?>
</td>
                           <!-- <td><?php 
        echo get_user_times($post->created, get_user_timezone());
        ?>
</td>-->
                            <td><a href="<?php 
        echo admin_url('neighbourhoods/editpost/' . $post->id);
        ?>
">
                                    <img src="<?php 
        echo base_url();
        ?>
images/edit-new.png" alt="Edit" title="Edit" /></a>
                                <a href="<?php 
        echo admin_url('neighbourhoods/deletepost/' . $post->id);
        ?>
" onclick="return confirm('Are you sure want to delete??');"><img src="<?php 
        echo base_url();