This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def answers | |
| account = Account.find_by_subdomain(request.headers[:subdomain]) | |
| if account.present? | |
| Apartment::Tenant.switch!(request.headers[:subdomain]) | |
| # strore params in variables | |
| question_id = params[:question][:id] | |
| answer_ids = params[:question].has_key?(:answers) ? params[:question][:answers] : nil | |
| answer_text = params[:question].has_key?(:answerText) ? params[:question][:answerText] : nil |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $name = $_POST['Name']; | |
| $email = $_POST['Email']; | |
| $mobile = $_POST['Mobile']; | |
| $Departure=$_POST['Ddate']; | |
| $return=$_POST['Rdate']; | |
| $Destination=$_POST['D']; | |
| $subject = "New booking recieved from $email"; | |
| $message = " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $email = $_POST['email']; | |
| $location = $_POST['location']; | |
| $message = $_POST['message']; | |
| $name = $_POST['name']; | |
| $phone = $_POST['phone']; | |
| $subjectmail = $_POST['subject']; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [{ | |
| "key": "AP", | |
| "name": "Andhra Pradesh", | |
| "capital": "Hyderabad" | |
| }, { | |
| "key": "AR", | |
| "name": "Arunachal Pradesh", | |
| "capital": "Itanagar" | |
| }, { | |
| "key": "AS", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <q-layout> | |
| <div slot="header" class="toolbar primary"> | |
| <q-toolbar-title :padding="1"> | |
| Incredible India | |
| </q-toolbar-title> | |
| <button @click="$router.push('near')"><i>explore</i></button> | |
| <button @click="$refs.search.open()"> | |
| <i>search</i> | |
| </button> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <q-layout> | |
| <!-- <q-drawer ref="drawer"> | |
| <div class="list platform-delimiter"> | |
| <div class="list-header"> | |
| <img src="../assets/mountains.jpg" width="100%"> | |
| </div> | |
| <q-drawer-link icon="person_pin_circle" to="/account">Near Me</q-drawer-link> | |
| <q-drawer-link icon="map" to="/alarms">Places</q-drawer-link> | |
| <q-drawer-link icon="supervisor_account" to="/alarms">Guides</q-drawer-link> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Vue JS template</title> | |
| <!-- Load Vue JS library --> | |
| <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.1.6/vue.min.js"></script> | |
| </head> | |
| <body> | |
| <!-- Our Vue JS app, vue js will be functional inside this div only. --> | |
| <div id="app"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <form action="test.php" method="POST"> | |
| Name:<input type="text" name="name"><br/> | |
| Email Id:<input type="email" name="email"> <br/> | |
| Phone Number:<input type="number" name="phone"> <br/> | |
| <input type="submit" value="Submit"> | |
| </form> | |
| <?php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "abcd" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
NewerOlder