Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en">
- <head>
- <title>theyellowhorse</title>
- <meta name="description" content="theyellowhorse" />
- <meta name="keywords" content="theyellowhorse" />
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <script language="JavaScript" src="http://www.theyellowhorse.com/scripts/jquery.js"></script>
- </head>
- <body>
- <form id="form-horse-update" name="horse-update" action="/members/account/sheet.php?horse=10" method="post" enctype="multipart/form-data">
- <input type="hidden" name="ieBugFix" value="1" />
- <input type="hidden" name="action" value="update" />
- <input type="hidden" name="process" id="process" value="" />
- <input type="hidden" name="updated_ids" id="sheetid-updated" value="" />
- <ul id="myhorse-sheet-nav">
- <li class="first"><a href="#vet" id="sheet-nav-vet">Vet</a></li>
- <li><a href="#farrier" id="sheet-nav-farrier">Farrier</a></li>
- <li><a href="#training" id="sheet-nav-training">Training</a></li>
- <li><a href="#other" id="sheet-nav-other">Other</a></li>
- </ul>
- <table border="0" cellpadding="2" cellspacing="0" class="standard-table sheet-table" id="tablesheet-vet">
- <tr>
- <th>Date</th>
- <th>Description</th>
- <th>Document</th>
- </tr>
- <tr>
- <td colspan="3">- No Data -</td>
- </tr></table>
- <table border="0" cellpadding="2" cellspacing="0" class="standard-table sheet-table" id="tablesheet-farrier">
- <tr>
- <th>Date</th>
- <th>Description</th>
- <th>Document</th>
- </tr>
- <tr>
- <td colspan="3">- No Data -</td>
- </tr></table>
- <table border="0" cellpadding="2" cellspacing="0" class="standard-table sheet-table" id="tablesheet-training">
- <tr>
- <th>Date</th>
- <th>Description</th>
- <th>Document</th>
- </tr>
- <tr>
- <td colspan="3">- No Data -</td>
- </tr></table>
- <table border="0" cellpadding="2" cellspacing="0" class="standard-table sheet-table" id="tablesheet-other">
- <tr>
- <th>Date</th>
- <th>Description</th>
- <th>Document</th>
- </tr>
- <tr>
- <td colspan="3">- No Data -</td>
- </tr></table>
- <input type="hidden" name="ieBugFix2" value="1" />
- <div class="baseButtons">
- <p class="standardButton">
- <button type="submit">Submit</button>
- </p>
- <p class="standardButton">
- <a href="myhorse.php">Cancel</a>
- </p>
- </div>
- </form>
- <form id="form-horse-add" name="horse-add" action="/members/account/sheet.php?horse=10" method="post" enctype="multipart/form-data">
- <input type="hidden" name="ieBugFix" value="1" />
- <input type="hidden" name="action" value="add" />
- <input type="hidden" name="myhorse_id" id="myhorse_id" value="10" />
- <input type="hidden" name="account_id" id="account_id" value="3" />
- <input type="hidden" name="type_id" id="type_id-add" value="" />
- <table cellspacing="0" cellpadding="0" border="0" class="standard-table">
- <tr>
- <th class="standard-tabletitle" colspan="2">
- Add Data - <span id="title-add"></span>
- </th>
- </tr>
- <tr>
- <th>Date:</th>
- <td>
- <input type="text" class="date-pick" name="event_date" value="" style="width:80px; color:#3B4B5B" /> <span>(mm/dd/yyyy)</span>
- </td>
- </tr>
- <tr>
- <th>Description:</th>
- <td>
- <textarea name="event_description" rows="5"></textarea>
- </td>
- </tr>
- <tr>
- <th>Attach Document:</th>
- <td>
- <input type="file" name="document" size="50" /><span>Max file size 1.5 MB.</span>
- </td>
- </tr>
- </table>
- <div class="baseButtons">
- <p class="standardButton">
- <button type="submit">Add</button>
- </p>
- <p class="standardButton">
- <a href="myhorse.php">Cancel</a>
- </p>
- </div>
- <input type="hidden" name="ieBugFix2" value="1" />
- </form>
- <form id="form-horse-delete" name="horse-delete" action="/members/account/sheet.php?horse=10" method="post" enctype="multipart/form-data">
- <input type="hidden" name="ieBugFix" value="1" />
- <input type="hidden" name="delete_id" id="sheetid-delete" value="" />
- <input type="hidden" name="ieBugFix2" value="1" />
- </form>
- </div>
- <!-- required plugins -->
- <script type="text/javascript" src="http://www.theyellowhorse.com/scripts/date.js"></script>
- <!--[if IE]><script type="text/javascript" src="http://www.theyellowhorse.com/scripts/jquery.bgiframe.min.js"></script><![endif]-->
- <!-- jquery.datePicker.js -->
- <script type="text/javascript" src="http://www.theyellowhorse.com/scripts/jquery.datepicker.min.js"></script>
- <link rel="stylesheet" type="text/css" media="screen" href="http://www.theyellowhorse.com/scripts/datepicker.css" />
- <script type="text/javascript">
- function toggleSheetView( sheetId ) {
- $("#tablesheet-vet").hide();
- $("#tablesheet-farrier").hide();
- $("#tablesheet-training").hide();
- $("#tablesheet-other").hide();
- $("#sheet-nav-vet").removeClass('selected');
- $("#sheet-nav-farrier").removeClass('selected');
- $("#sheet-nav-training").removeClass('selected');
- $("#sheet-nav-other").removeClass('selected');
- switch( sheetId ) {
- case "vet":
- $("#tablesheet-vet").show();
- $("#sheet-nav-vet").addClass('selected');
- $("#type_id-add").val(1);
- break;
- case "farrier":
- $("#tablesheet-farrier").show();
- $("#sheet-nav-farrier").addClass('selected');
- $("#type_id-add").val(2);
- break;
- case "training":
- $("#tablesheet-training").show();
- $("#sheet-nav-training").addClass('selected');
- $("#type_id-add").val(3);
- break;
- case "other":
- $("#tablesheet-other").show();
- $("#sheet-nav-other").addClass('selected');
- $("#type_id-add").val(4);
- break;
- default:
- $("#type_id-add").val(0);
- }
- $("#form-horse-update").attr( 'action', '?horse=1#' + sheetId );
- $("#form-horse-delete").attr( 'action', '?horse=1#' + sheetId );
- $("#form-horse-add").attr( 'action', '?horse=1#' + sheetId );
- $("#title-add").text( sheetId.charAt(0).toUpperCase() + sheetId.substr(1).toLowerCase() );
- }
- $(document).ready(function() {
- var sheetAnchor = self.document.location.hash.substring(1);
- if( sheetAnchor == "" )
- sheetAnchor = 'vet';
- toggleSheetView( sheetAnchor );
- $("a[id^=sheet-nav]").click( function() {
- var linkId = $(this).attr("id");
- var sheet = linkId.split('-'); //sheet-nav-sheetId
- toggleSheetView( sheet[2] );
- });
- $('.date-pick').datePicker( {startDate:'01/01/1980'} );
- $("#classified-form-reset").click( function() {
- window.location="http://www.theyellowhorse.com/members/classified/index.php?screen=&letter=";
- });
- $("#classified-form-smgr-reset").click( function() {
- $("#formclassifiedcancel").submit();
- });
- });
- </script>
- <style type="text/css">
- table.standard-table .input-checkbox {
- width: auto;
- }
- #myhorse-sheet-nav {
- }
- #myhorse-sheet-nav li {
- float: left;
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 12px;
- font-weight: bold;
- width: 75px;
- color: #235;
- }
- #myhorse-sheet-nav a {
- display: block;
- width: 75px;
- text-align: center;
- padding: 4px;
- }
- #myhorse-sheet-nav a:hover {
- color: #000;
- background-color: #2e4c6b;
- }
- #myhorse-sheet-nav a.selected {
- color: #000;
- background-color: #2e4c6b;
- }
- .standard-table {
- clear: both;
- }
- table.sheet-table {
- margin-left: 0;
- }
- table.sheet-table th {
- background-color: #2e4c6b;
- color: #eaf0f7;
- text-align: center;
- padding: 5px;
- }
- #tablesheet-vet {
- display:;
- }
- #tablesheet-farrier {
- display: none;
- }
- #tablesheet-training {
- display: none;
- }
- #tablesheet-other {
- display: none;
- }
- </style>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement