Esempio n. 1
0
        <div class="review-text-content">
            <div class="date-general">
                <span><?php 
        echo $thisReview->commented_on;
        ?>
</span>
                <img src="<?php 
        echo base_url();
        ?>
public/images/emoticons/<?php 
        echo $thisReview->smiley_icon;
        ?>
" alt="excelent" class="my-emotion">
            </div>
            <p>
                <?php 
        echo nl2br(filterDbOutput($thisReview->comment_text, 180));
        ?>
            </p>
        </div>
    </li>

    <?php 
    }
}
?>

</ul>

<?php 
echo $reviewPageLinks;
Esempio n. 2
0
        <tr>
            <th>
                <i class="fa fa-stop"></i>
            </th>
            <td>
                <p class="name"><?php 
        echo $thisPendingMessage->sender_full_name;
        ?>
</p>
                <p class="time"><?php 
        echo $thisPendingMessage->sent_on;
        ?>
</p>
                <p><?php 
        echo filterDbOutput($thisPendingMessage->message);
        ?>
</p>
            </td>
            <td class="status">
                <p class="declined"><?php 
        echo $thisPendingMessage->status;
        ?>
</p>
            </td>
        </tr>

<?php 
    }
    ?>
    </tbody>
Esempio n. 3
0
?>
">
            <input type="text" name="profile_data[users][college]" class="form-control input-lg" placeholder="my college" value="<?php 
echo $profileData->college ? filterDbOutput($profileData->college) : '';
?>
">
            <input type="text" name="profile_data[users][work]" id="work" class="form-control input-lg" placeholder="my work" value="<?php 
echo $profileData->work ? filterDbOutput($profileData->work) : '';
?>
">
            <input type="text" name="profile_data[users][hobbies]" class="form-control input-lg" placeholder="my hobbies" value="<?php 
echo $profileData->hobbies ? filterDbOutput($profileData->hobbies) : '';
?>
">
            <textarea name="profile_data[users][about]" id="about" class="form-control input-lg" rows="5" placeholder="about me..." style="margin-bottom: 0px;"><?php 
echo $profileData->about ? filterDbOutput($profileData->about) : '';
?>
</textarea>
            <div class="col-md-6 styled-select language">
                <select class="form-control" id="language" name="profile_data[users][languages][]" multiple>
                    <option value="">-Select language-</option>

                    <?php 
$hostLanguages = $profileData->languages ? false !== strpos($profileData->languages, ',') ? explode(',', $profileData->languages) : array($profileData->languages) : array();
foreach ($languages as $thisLanguage) {
    ?>
                    <option value="<?php 
    echo $thisLanguage->id;
    ?>
" <?php 
    echo in_array($thisLanguage->id, $hostLanguages) ? 'selected' : '';
Esempio n. 4
0
}
?>
                <form name="edit_agent_type_form" class="form-horizontal" role="form"  novalidate=""  method="post" action="<?php 
echo site_url('/admin/agent_type/updateSelectedAgentType');
?>
">
                    <div class="form-group" ng-class="{'has-error' : (edit_agent_type_form['agent_type_data[agent_type]'].$touched || edit_agent_type_form['agent_type_data[agent_type]'].$dirty) && edit_agent_type_form['agent_type_data[agent_type]'].$invalid}">
                        <label class="col-sm-2 control-label" for="agent_type">
                            Agent Type
                        </label>
                        <div class="col-sm-4">
                            <input type="text" name="agent_type_data[agent_type]" id="agent_type" class="form-control" value="<?php 
echo filterDbOutput($agentTypeDetails->agent_type);
?>
" placeholder="Agent type" ng-model="agentType.agent_type" ng-init="agentType.agent_type='<?php 
echo filterDbOutput($agentTypeDetails->agent_type);
?>
'" required ng-pattern="/^[0-9a-z\s-_]+$/i" unique-agent-type>
                            <div ng-messages="edit_agent_type_form['agent_type_data[agent_type]'].$error" ng-if="edit_agent_type_form['agent_type_data[agent_type]'].$touched || edit_agent_type_form['agent_type_data[agent_type]'].$dirty" ng-cloak="">
                                <div class="alert alert-danger"  ng-message="required"><strong>Agent type is required</strong></div>
                                <div class="alert alert-danger" ng-message="pattern"><strong>Agent type can only contain alphanumeric characters, spaces, '-'s and '_'s</strong></div>
                                <div class="alert alert-danger" ng-message="unique-agent-type"><strong>{{ agentType.isUniqueAgentTypeErrorMessage }}</strong></div>
                            </div>
                            <?php 
if (isset($validationErrors['agent_type']) && $validationErrors['agent_type']) {
    ?>
                            <div class="alert alert-danger server-response"><strong><?php 
    echo $validationErrors['agent_type'];
    ?>
</strong></div>
                            <?php 
Esempio n. 5
0
        <tr>
            <th>
                <i class="fa fa-stop"></i>
            </th>
            <td>
                <p class="name"><?php 
        echo $thisViewedMessage->sender_full_name;
        ?>
</p>
                <p class="time"><?php 
        echo $thisViewedMessage->sent_on;
        ?>
</p>
                <p><?php 
        echo filterDbOutput($thisViewedMessage->message);
        ?>
</p>
            </td>
            <td class="status">
                <p class="<?php 
        echo array_search($thisViewedMessage->status, $statusClassMap);
        ?>
"><?php 
        echo $thisViewedMessage->status;
        ?>
</p>
            </td>
        </tr>

<?php 
Esempio n. 6
0
                                                    <div class="date-general">
                                                        <span><?php 
            echo $thisReview->commented_on;
            ?>
</span>
                                                        <img src="<?php 
            echo base_url();
            ?>
public/images/emoticons/<?php 
            echo $thisReview->smiley_icon;
            ?>
" alt="excelent" class="my-emotion">
                                                    </div>
                                                    <p>
                                                        <?php 
            echo nl2br(filterDbOutput(excerptize($thisReview->comment_text, 180)));
            ?>
                                                    </p>
                                                </div>
                                            </li>
                                            
                                            <?php 
        }
    }
    ?>
                                            
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
</strong></div>
                            <?php 
}
?>
                        </div>
                    </div>
                    <div class="form-group" ng-class="{ 'has-error' : (edit_admin_profile_form.$submitted || edit_admin_profile_form.last_name.$touched || edit_admin_profile_form.last_name.$dirty) && edit_admin_profile_form.last_name.$error.required }">
                        <label class="col-md-2 control-label" for="last_name">
                            Last Name
                        </label>
                        <div class="col-sm-4">
                            <input type="text" name="last_name" id="last_name" class="form-control" value="<?php 
echo isset($profileDetails->last_name) ? filterDbOutput($profileDetails->last_name) : '';
?>
" ng-model="lastName" ng-init="lastName='<?php 
echo isset($profileDetails->last_name) ? filterDbOutput($profileDetails->last_name) : '';
?>
'" required>
                            <div class="alert alert-danger" ng-show="(edit_admin_profile_form.$submitted || edit_admin_profile_form.last_name.$touched || edit_admin_profile_form.last_name.$dirty) && edit_admin_profile_form.last_name.$error.required" ng-cloak="">
                                <strong>Last name is required</strong>
                            </div>
                            <?php 
if (isset($validationErrors['last_name']) && $validationErrors['last_name']) {
    ?>
                            <div class="alert alert-danger server-response"><strong><?php 
    echo $validationErrors['last_name'];
    ?>
</strong></div>
                            <?php 
}
?>
Esempio n. 8
0
        ?>
_thumb_image" src="<?php 
        echo $imageUrl;
        ?>
"/>
						</td>
						<td><?php 
        echo $thisProperty->property_title ? filterDbOutput($thisProperty->property_title) : 'Not Provided';
        ?>
</td>
                        <td><?php 
        echo $thisProperty->roomtype ? filterDbOutput($thisProperty->roomtype) : 'Not Provided';
        ?>
</td>
						<td><?php 
        echo $thisProperty->property_address ? filterDbOutput($thisProperty->property_address) : 'Not Prvided';
        ?>
</td>
						<td><?php 
        echo $thisProperty->property_created_on;
        ?>
</td>
						<td>
							<a href="<?php 
        echo site_url('/host/propertydetails/' . $thisProperty->property_id . '/?referer=' . base64_encode(current_url()));
        ?>
" class="btn btn-primary">View</a>
							&nbsp;&nbsp;
							<a href="<?php 
        echo site_url('/host/editproperty/' . $thisProperty->property_id . '/?referer=' . base64_encode(current_url()));
        ?>
Esempio n. 9
0
</a>
                                </td>
                                <td><?php 
        echo formatDateFromDb($thisCmsPage->created);
        ?>
</td>
                                <td><?php 
        echo filterDbOutput($thisCmsPage->created_by);
        ?>
</td>
                                <td><?php 
        echo formatDateFromDb($thisCmsPage->modified);
        ?>
</td>
                                <td><?php 
        echo filterDbOutput($thisCmsPage->modified_by);
        ?>
</td>
                                <td>
                                    <?php 
        $deleteUrl = site_url('/admin/cms/delete?rec_id=' . base64_encode($thisCmsPage->id) . '&rec_on_page=' . count($cmsPages) . '&cur_page=' . $this->pagination->cur_page . '&tot_rec=' . $this->pagination->total_rows . '&per_page=' . $this->pagination->per_page . '&ref=' . base64_encode(current_full_url()));
        $editUrl = site_url('/admin/cms/edit?rec_id=' . base64_encode($thisCmsPage->id) . '&ref=' . base64_encode(current_full_url()));
        ?>
                                    <a href="<?php 
        echo $editUrl;
        ?>
" class="btn btn-xs btn-teal tooltips" data-placement="top" data-original-title="Edit"><i class="fa fa-edit"></i></a>
                                    &nbsp;&nbsp;&nbsp;
                                    <a href="<?php 
        echo $deleteUrl;
        ?>
Esempio n. 10
0
                            Page Meta Keywords
                        </label>
                        <div class="col-md-10">
                            <input type="text" name="add_cms_page_data[meta_keywords]" id="meta_keywords" class="form-control" value="<?php 
echo isset($addCmsPageUserInput->meta_keywords) ? filterDbOutput($addCmsPageUserInput->meta_keywords) : '';
?>
" placeholder="Page meta keywords">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label" for="meta_description">
                            Page Meta Description
                        </label>
                        <div class="col-md-10">
                            <textarea name="add_cms_page_data[meta_description]" id="meta_description" class="form-control" placeholder="Page meta description"><?php 
echo isset($addCmsPageUserInput->meta_description) ? filterDbOutput($addCmsPageUserInput->meta_description) : '';
?>
</textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label" for=""></label>
                        <div class="col-md-10">
                            <a href="<?php 
echo $referer;
?>
" class="btn btn-primary btn-squared"> Back </a>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <button type="button" class="btn btn-primary btn-squared" ng-disabled="add_cms_page_form.$invalid" ng-click="cmsPage.submitCmsPageForm(add_cms_page_form)"> Save </button>
                        </div>
                    </div>
Esempio n. 11
0
public/images/closex.png" class="remove-fav-btn"></a>
                    </p>
                    <img src="<?php 
        echo $profilePicUrl;
        ?>
" class="img-circle property-host-img">
                    <p class="text-imp"><?php 
        echo $thisPropertyData->property_title ? filterDbOutput($thisPropertyData->property_title) : 'Property Title Not Given';
        ?>
</p>
                    <p class="text-sub-imp"><?php 
        echo $thisPropertyData->area ? filterDbOutput($thisPropertyData->area) : 'Property Area Not Given';
        ?>
</p>
                    <p><?php 
        echo $thisPropertyData->property_type ? filterDbOutput($thisPropertyData->property_type) : 'Property Type Not Given';
        ?>
</p>
                    <div class="property-desc-footer">
                        <p class="text-left">
                            <span class="text-left"><input type="checkbox"> Compare</span>
                            <span class="pull-right">
                                <a href="javascript:void(0);" class="location_popper"><img src="<?php 
        echo base_url();
        ?>
public/images/loc.png"></a>
                                <input type="hidden" name="property_lats[]" id="property_lat_<?php 
        echo $key;
        ?>
" class="property_lats" val="<?php 
        echo $thisPropertyData->latitude ? $thisPropertyData->latitude : 0.0;
Esempio n. 12
0
<div class="col-md-12 col-padding-no infoActionContainer">
    <div class="col-md-12 col-padding-no tripInfo">
        <h4>From: <?php 
        echo $thisMessage->sender_full_name;
        ?>
</h4>
        <h4>To: <?php 
        echo $thisMessage->receiver_full_name;
        ?>
</h4>
        <p>Sent On: <?php 
        echo $thisMessage->sent_on;
        ?>
</p>
        <p style="word-wrap: break-all;"><?php 
        echo nl2br(filterDbOutput($thisMessage->message));
        ?>
</p>
    </div>
</div>
<div class="clearfix"></div>

<?php 
    }
} else {
    ?>

<div class="frm-body col-md-12 col-padding-no">
    <div class="col-md-12 col-padding-no pull-left">
        <p>No Messages Found From This Property</p>
    </div>
Esempio n. 13
0
            <th>
                <i class="fa fa-stop"></i>
            </th>
            <td>
                <p class="name"><?php 
        echo isset($thisMessageData->sender_full_name) ? filterDbOutput($thisMessageData->sender_full_name) : 'Not Found';
        ?>
</p>
                <p class="time"><?php 
        echo isset($thisMessageData->sent_on) ? $thisMessageData->sent_on : 'Not Given';
        ?>
</p>
            </td>
            <td class="address">
                <p><?php 
        echo isset($thisMessageData->message) ? nl2br(filterDbOutput($thisMessageData->message)) : 'Not Given';
        ?>
</p>
            </td>
            <td class="status">
                <p class="declined"><?php 
        echo $thisMessageData->status ? $thisMessageData->status : 'Not Given';
        ?>
</p>
            </td>
        </tr>

        <?php 
    }
} else {
    ?>
Esempio n. 14
0
}
?>
                <form name="add_agent_type_form" class="form-horizontal" role="form"  novalidate=""  method="post" action="<?php 
echo site_url('/admin/agent_type/saveAgentType');
?>
">
                    <div class="form-group" ng-class="{'has-error' : (add_agent_type_form['agent_type_data[agent_type]'].$touched || add_agent_type_form['agent_type_data[agent_type]'].$dirty) && add_agent_type_form['agent_type_data[agent_type]'].$invalid}">
                        <label class="col-sm-2 control-label" for="agent_type">
                            Agent Type
                        </label>
                        <div class="col-sm-4">
                            <input type="text" name="agent_type_data[agent_type]" id="agent_type" class="form-control" value="<?php 
echo isset($agentTypeDetails->agent_type) ? filterDbOutput($agentTypeDetails->agent_type) : '';
?>
" placeholder="Agent type" ng-model="agentType.agent_type" ng-init="agentType.agent_type='<?php 
echo isset($agentTypeDetails->agent_type) ? filterDbOutput($agentTypeDetails->agent_type) : '';
?>
'" required ng-pattern="/^[0-9a-z\s-_]+$/i" unique-agent-type>
                            <div ng-messages="add_agent_type_form['agent_type_data[agent_type]'].$error" ng-if="add_agent_type_form['agent_type_data[agent_type]'].$touched || add_agent_type_form['agent_type_data[agent_type]'].$dirty" ng-cloak="">
                                <div class="alert alert-danger" ng-message="required"><strong>Agent type is required</strong></div>
                                <div class="alert alert-danger" ng-message="pattern"><strong>Agent type can only contain alphanumeric characters, spaces, '-'s and '_'s</strong></div>
                                <div class="alert alert-danger" ng-message="unique-agent-type"><strong>{{ agentType.isUniqueAgentTypeErrorMessage }}</strong></div>
                            </div>
                            <?php 
if (isset($validationErrors['agent_type']) && $validationErrors['agent_type']) {
    ?>
                            <div class="alert alert-danger server-response"><strong><?php 
    echo $validationErrors['agent_type'];
    ?>
</strong></div>
                            <?php 
Esempio n. 15
0
                            Page Meta Keywords
                        </label>
                        <div class="col-md-10">
                            <input type="text" name="edit_cms_page_data[meta_keywords]" id="meta_keywords" class="form-control" value="<?php 
echo isset($cmsPageDetails->meta_keywords) ? filterDbOutput($cmsPageDetails->meta_keywords) : '';
?>
" placeholder="Page meta keywords">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label" for="meta_description">
                            Page Meta Description
                        </label>
                        <div class="col-md-10">
                            <textarea name="edit_cms_page_data[meta_description]" id="meta_description" class="form-control" placeholder="Page meta description"><?php 
echo isset($cmsPageDetails->meta_description) ? filterDbOutput($cmsPageDetails->meta_description) : '';
?>
</textarea>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label" for="is_active">
                            Page Status
                        </label>
                        <div class="col-md-10">
                            <label class="checkbox-inline">
                                <input type="checkbox" name="edit_cms_page_data[is_active]" id="is_active" class="square-teal" value="<?php 
echo $cmsPageDetails->is_active;
?>
" ng-checked="'<?php 
echo 'Yes' == $cmsPageDetails->is_active ? true : false;
Esempio n. 16
0
        ?>
</span>
                                                        <img src="<?php 
        echo base_url() . 'public/images/emoticons/' . $thisHostOwnReview->smiley_image;
        ?>
" alt="<?php 
        echo $thisHostOwnReview->smiley_type;
        ?>
" class="my-emotion">
                                                    </div><!-- end date-general -->
                                                    <p><?php 
        echo filterDbOutput($thisHostOwnReview->property_location);
        ?>
</p>
                                                    <p><?php 
        echo filterDbOutput($thisHostOwnReview->rating);
        ?>
</p>
                                                </div><!-- end review-text-content -->
                                            </li>
                                            <?php 
    }
    ?>
                                            </ul>
                                            <?php 
} else {
    ?>
                                            <p style="text-align:center; ">You have not posted any reviews yet</p>
                                            <?php 
}
?>
Esempio n. 17
0
        ?>
</p>
        <h4><?php 
        echo $thisPropertyReview->comment_date;
        ?>
</h4>
        <p><?php 
        echo filterDbOutput($thisPropertyReview->property_location);
        ?>
</p>
        <p><img src="<?php 
        echo base_url() . 'public/images/emoticons/' . $thisPropertyReview->smiley_icon;
        ?>
" alt="property_rating" class="my-emotion"></p>
        <p style="word-wrap: break-all;"><?php 
        echo nl2br(filterDbOutput($thisPropertyReview->comment_text));
        ?>
</p>
    </div>
</div>
<div class="clearfix"></div>

<?php 
    }
} else {
    ?>

<div class="frm-body col-md-12 col-padding-no">
    <div class="col-md-12 col-padding-no pull-left">
        <p>No Reviews Found On This Property</p>
    </div>
Esempio n. 18
0
</a>
                                </td>
                                <td><?php 
        echo formatDateFromDb($thisAgentType->created);
        ?>
</td>
                                <td><?php 
        echo filterDbOutput($thisAgentType->created_by);
        ?>
</td>
                                <td><?php 
        echo formatDateFromDb($thisAgentType->modified);
        ?>
</td>
                                <td><?php 
        echo filterDbOutput($thisAgentType->modified_by);
        ?>
</td>
                                <td>
                                    <?php 
        $deleteUrl = site_url('/admin/agent-type/delete?rec_id=' . base64_encode($thisAgentType->id) . '&rec_on_page=' . count($agentTypes) . '&cur_page=' . $this->pagination->cur_page . '&tot_rec=' . $this->pagination->total_rows . '&per_page=' . $this->pagination->per_page . '&ref=' . base64_encode(current_full_url()));
        $editUrl = site_url('/admin/agent-type/edit?rec_id=' . base64_encode($thisAgentType->id) . '&ref=' . base64_encode(current_full_url()));
        ?>
                                    <a href="<?php 
        echo $editUrl;
        ?>
" class="btn btn-xs btn-teal tooltips" data-placement="top" data-original-title="Edit"><i class="fa fa-edit"></i></a>
                                    &nbsp;&nbsp;&nbsp;
                                    <a href="<?php 
        echo $deleteUrl;
        ?>
Esempio n. 19
0
                                        </div>
                                        <div class="col-md-4 styled-select margin-left-30">

                                             <input id="area" class="form-control input-lg" name="area" type="text" placeholder="Area" value="<?php 
echo isset($propertyDetails->area) && $propertyDetails->area ? filterDbOutput($propertyDetails->area) : '';
?>
">
                                        </div>
                                    </div>
                                    <div class="col-md-12" style="padding-left:0px;">
                                        <div class="col-md-6" style="padding-left:0px;" id="no_city_error"></div>
                                        <div class="col-md-6" style="padding-left:0px;" id="no_area_error"></div>
                                    </div>
                                    <div class="col-md-6 col-padding-no">
                                        <input type="text" id="zip" name="zip" class="form-control input-lg margin-top-30" style="width: 250px;margin-top: 15px;" placeholder="ZIP CODE" value="<?php 
echo isset($propertyDetails->zip) && $propertyDetails->zip ? filterDbOutput($propertyDetails->zip) : '';
?>
">
                                    </div>
                                    <div class="clearfix"></div>
                                    <hr/>
                                    <input class="button-pink btn btn-default pull-left no-margin-top" id="pin_to_map" onclick="codeAddress()" type="button" value="PIN IT TO MAP">
                            </div>

                            <div class="col-md-3 col-padding-no">
                                <div class="col-padding-no centered-info">
                                </div>
                            </div>

                            <div class="clearfix"></div>
                            <div class="map-container">
Esempio n. 20
0
										<td><?php 
echo $propertyDetails->city_name ? filterDbOutput($propertyDetails->city_name) : 'Not Provided';
?>
</td>
									</tr>
									<tr>
										<th scope="row" class="pull-left">Area</th>
										<td><?php 
echo $propertyDetails->area ? filterDbOutput($propertyDetails->area) : 'Not Provided';
?>
</td>
									</tr>
									<tr>
										<th scope="row" class="pull-left">Zip</th>
										<td><?php 
echo $propertyDetails->zip ? filterDbOutput($propertyDetails->zip) : 'Not Provided';
?>
</td>
									</tr>
								</tbody>
							</table>
							<div class="clearfix"></div>
							<div id="map-canvas" style="width:100%;"></div>
                        </div>
                        <div class="col-md-3 col-padding-no">
                            <div class="col-padding-no centered-info">
                                <div class="line"></div>
                            </div>
                        </div>
                    </div>
                    <!-- location tab ends -->