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
| <input type="button" id="delete-file" value='Delete' /> | |
| document.getElementById('delete-file').onclick = function () { | |
| if (confirm('Are you sure??')) { | |
| parent.location='<?php echo "users/delete/" . $manoj['id'] ?>'; | |
| } | |
| }; |
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
| function checkLogin(){ | |
| $('#errorLogin').text(''); | |
| var emails = $('#email_in').val(); | |
| var passwords = $('#password_in').val(); | |
| if(emails == '' || passwords == '' ){ | |
| $('#errorLogin').text('Please enter correct details.'); | |
| return false; | |
| } | |
| $.post("http://www.discountoncard.com/users/ajaxLogin", {"email": emails, "password": passwords}, function (d) { | |
| var result = JSON.parse(d); |
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
| <link href="https://code.jquery.com/ui/1.10.4/themes/ui-lightness/jquery-ui.css" rel="stylesheet"> | |
| <script src="https://code.jquery.com/jquery-1.10.2.js"></script> | |
| <script src="https://code.jquery.com/ui/1.10.4/jquery-ui.js"></script> | |
| <script> | |
| $(document).ready(function () { | |
| var data = [ | |
| {'label': 'Dr.Hari', 'value': 1}, | |
| {'label': 'Sapna Clinic', 'value': 2}, |
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
| <script> | |
| $(document).ready(function () { | |
| $('#personalform').on('submit', function (e) { | |
| var phone = document.getElementById("mobile2").value; | |
| if (phone == "") { | |
| alert('Please type phonoe number .'); | |
| return false; | |
| } |
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
| <script type="text/javascript"> | |
| $(document).ready(function(){ | |
| var maxLength = 100; | |
| $(".show-read-more").each(function(){ | |
| var myStr = $(this).text(); | |
| if($.trim(myStr).length > maxLength){ | |
| var newStr = myStr.substring(0, maxLength); | |
| var removedStr = myStr.substring(maxLength, $.trim(myStr).length); | |
| $(this).empty().html(newStr); | |
| $(this).append(' <a href="javascript:void(0);" class="read-more">read more...</a>'); |
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
| <script type="text/javascript"> | |
| $(document).ready(function () { | |
| $('#sendAppLinkBtn').off('click').on("click", function () { | |
| $('#sendAppLinkBtn').val("Sending..."); | |
| $.post('/Utilities/sendAppLink.json', {num: $('#sendAppLinkNum').val()}, function (d) { | |
| $('#sendAppLinkBtn').val("Send App Link"); | |
| }); | |
| }); | |
| }); | |
| </script> |
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
| <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
| <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.24/angular.min.js"></script> | |
| <div class="col-md-12" > | |
| <div class="box"> | |
| <div class="box-header"> | |
| <h3 class="box-title">Simple Full Width Table</h3> | |
| </div> | |
| <div class="box-body no-padding"> |
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
| ssh root@234.43.43.4 | |
| sudo apt-get update | |
| sudo apt-get install git | |
| sudo apt-get install php5-mysql | |
| sudo service apache2 restart | |
| sudo chmod 777 -R /var/folder/folder | |
| sudo vim /etc/apache2/apache2.conf | |
| for exit :q | |
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
| git init | |
| git remote add origin https://manoj-nirog@bitbucket.org/amit-nirog/nirog.git | |
| git fetch && git checkout master | |
| git status | |
| git add folder/folder | |
| git add -A | |
| git commit -m "manoj changes in files" | |
| git pull origin master | |
| git push origin master |
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
| <div class="form-group col-lg-6 "> | |
| <label for="contactno">Clinic Video</label> | |
| <div class="more"> | |
| <form action="clinicvideo" id="clinicvideos" enctype="multipart/form-data" method="post" accept-charset="utf-8" > | |
| <input id="upvid" name="clinic_video" class="upvideos" type="file"/> | |
| <a href="" class="upload1 add" id="upload_video"><img src="" /></a> | |
| <div class="progress" id="progress-div"><div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" id="progress-bar"></div></div> | |
| <div id="targetLayer"></div> |
OlderNewer