Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2010
462
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 8.05 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en">
  4.  
  5.     <head>
  6.  
  7.                 <title>theyellowhorse</title>
  8.  
  9.  
  10.                 <meta name="description" content="theyellowhorse" />
  11.  
  12.                 <meta name="keywords" content="theyellowhorse" />
  13.  
  14.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  15.  
  16.  
  17.         <script language="JavaScript" src="http://www.theyellowhorse.com/scripts/jquery.js"></script>
  18.        
  19.     </head>
  20.  
  21.     <body>
  22.  
  23.  
  24.         <form id="form-horse-update" name="horse-update" action="/members/account/sheet.php?horse=10" method="post" enctype="multipart/form-data">
  25.        
  26.            
  27.             <input type="hidden" name="ieBugFix" value="1" />
  28.             <input type="hidden" name="action" value="update" />
  29.  
  30.            
  31.             <input type="hidden" name="process" id="process" value="" />
  32.             <input type="hidden" name="updated_ids" id="sheetid-updated" value="" />
  33.            
  34.            
  35.    
  36. <ul id="myhorse-sheet-nav">
  37.     <li class="first"><a href="#vet" id="sheet-nav-vet">Vet</a></li>
  38.     <li><a href="#farrier" id="sheet-nav-farrier">Farrier</a></li>
  39.     <li><a href="#training" id="sheet-nav-training">Training</a></li>
  40.     <li><a href="#other" id="sheet-nav-other">Other</a></li>
  41. </ul>
  42. <table border="0" cellpadding="2" cellspacing="0" class="standard-table sheet-table" id="tablesheet-vet">
  43.    
  44.     <tr>
  45.         <th>Date</th>
  46.         <th>Description</th>
  47.         <th>Document</th>
  48.     </tr>
  49.         <tr>
  50.         <td colspan="3">- No Data -</td>
  51.     </tr></table>
  52. <table border="0" cellpadding="2" cellspacing="0" class="standard-table sheet-table" id="tablesheet-farrier">
  53.    
  54.     <tr>
  55.         <th>Date</th>
  56.         <th>Description</th>
  57.         <th>Document</th>
  58.     </tr>
  59.         <tr>
  60.         <td colspan="3">- No Data -</td>
  61.     </tr></table>
  62. <table border="0" cellpadding="2" cellspacing="0" class="standard-table sheet-table" id="tablesheet-training">
  63.    
  64.     <tr>
  65.         <th>Date</th>
  66.         <th>Description</th>
  67.         <th>Document</th>
  68.     </tr>
  69.         <tr>
  70.         <td colspan="3">- No Data -</td>
  71.     </tr></table>
  72. <table border="0" cellpadding="2" cellspacing="0" class="standard-table sheet-table" id="tablesheet-other">
  73.    
  74.     <tr>
  75.         <th>Date</th>
  76.         <th>Description</th>
  77.         <th>Document</th>
  78.     </tr>
  79.         <tr>
  80.         <td colspan="3">- No Data -</td>
  81.     </tr></table>
  82.  
  83.    
  84.  
  85.            
  86.             <input type="hidden" name="ieBugFix2" value="1" />
  87.  
  88.                        
  89.             <div class="baseButtons">
  90.  
  91.                 <p class="standardButton">
  92.                     <button type="submit">Submit</button>
  93.                 </p>
  94.                 <p class="standardButton">
  95.                     <a href="myhorse.php">Cancel</a>
  96.                 </p>
  97.                
  98.             </div>
  99.            
  100.         </form>
  101.        
  102.         <form id="form-horse-add" name="horse-add" action="/members/account/sheet.php?horse=10" method="post" enctype="multipart/form-data">
  103.            
  104.             <input type="hidden" name="ieBugFix" value="1" />
  105.            
  106.             <input type="hidden" name="action" value="add" />
  107.             <input type="hidden" name="myhorse_id" id="myhorse_id" value="10" />
  108.             <input type="hidden" name="account_id" id="account_id" value="3" />
  109.             <input type="hidden" name="type_id" id="type_id-add" value="" />
  110.            
  111.             <table cellspacing="0" cellpadding="0" border="0" class="standard-table">
  112.                 <tr>
  113.                     <th class="standard-tabletitle" colspan="2">
  114.                         Add Data - <span id="title-add"></span>
  115.                     </th>
  116.                 </tr>
  117.                 <tr>
  118.                     <th>Date:</th>
  119.                     <td>
  120.                         <input type="text" class="date-pick" name="event_date" value="" style="width:80px; color:#3B4B5B" /> <span>(mm/dd/yyyy)</span>
  121.                     </td>
  122.                 </tr>
  123.                 <tr>
  124.                     <th>Description:</th>
  125.                     <td>
  126.                         <textarea name="event_description" rows="5"></textarea>
  127.                     </td>
  128.                 </tr>
  129.                 <tr>
  130.                     <th>Attach Document:</th>
  131.                     <td>
  132.                         <input type="file" name="document" size="50" /><span>Max file size 1.5 MB.</span>
  133.                     </td>
  134.                 </tr>
  135.             </table>
  136.            
  137.             <div class="baseButtons">
  138.  
  139.                 <p class="standardButton">
  140.                     <button type="submit">Add</button>
  141.                 </p>
  142.                 <p class="standardButton">
  143.                     <a href="myhorse.php">Cancel</a>
  144.                 </p>
  145.                
  146.             </div>
  147.            
  148.             <input type="hidden" name="ieBugFix2" value="1" />
  149.         </form>
  150.        
  151.         <form id="form-horse-delete" name="horse-delete" action="/members/account/sheet.php?horse=10" method="post" enctype="multipart/form-data">
  152.            
  153.             <input type="hidden" name="ieBugFix" value="1" />
  154.            
  155.             <input type="hidden" name="delete_id" id="sheetid-delete" value="" />
  156.            
  157.             <input type="hidden" name="ieBugFix2" value="1" />
  158.            
  159.         </form>
  160.  
  161.     </div>
  162.    
  163.     <!-- required plugins -->
  164.     <script type="text/javascript" src="http://www.theyellowhorse.com/scripts/date.js"></script>
  165.     <!--[if IE]><script type="text/javascript" src="http://www.theyellowhorse.com/scripts/jquery.bgiframe.min.js"></script><![endif]-->
  166.    
  167.     <!-- jquery.datePicker.js -->
  168.     <script type="text/javascript" src="http://www.theyellowhorse.com/scripts/jquery.datepicker.min.js"></script>
  169.    
  170.     <link rel="stylesheet" type="text/css" media="screen" href="http://www.theyellowhorse.com/scripts/datepicker.css" />
  171.     <script type="text/javascript">
  172.        
  173.         function toggleSheetView( sheetId ) {
  174.             $("#tablesheet-vet").hide();
  175.             $("#tablesheet-farrier").hide();
  176.             $("#tablesheet-training").hide();
  177.             $("#tablesheet-other").hide();
  178.             $("#sheet-nav-vet").removeClass('selected');
  179.             $("#sheet-nav-farrier").removeClass('selected');
  180.             $("#sheet-nav-training").removeClass('selected');
  181.             $("#sheet-nav-other").removeClass('selected');
  182.             switch( sheetId ) {
  183.                 case "vet":
  184.                     $("#tablesheet-vet").show();
  185.                     $("#sheet-nav-vet").addClass('selected');
  186.                     $("#type_id-add").val(1);
  187.                     break;
  188.                 case "farrier":
  189.                     $("#tablesheet-farrier").show();
  190.                     $("#sheet-nav-farrier").addClass('selected');
  191.                     $("#type_id-add").val(2);
  192.                     break;
  193.                 case "training":
  194.                     $("#tablesheet-training").show();
  195.                     $("#sheet-nav-training").addClass('selected');
  196.                     $("#type_id-add").val(3);
  197.                     break;
  198.                 case "other":
  199.                     $("#tablesheet-other").show();
  200.                     $("#sheet-nav-other").addClass('selected');
  201.                     $("#type_id-add").val(4);
  202.                     break;
  203.                 default:
  204.                     $("#type_id-add").val(0);
  205.             }
  206.             $("#form-horse-update").attr( 'action', '?horse=1#' + sheetId );
  207.             $("#form-horse-delete").attr( 'action', '?horse=1#' + sheetId );
  208.             $("#form-horse-add").attr( 'action', '?horse=1#' + sheetId );
  209.             $("#title-add").text( sheetId.charAt(0).toUpperCase() + sheetId.substr(1).toLowerCase() );
  210.         }
  211.        
  212.         $(document).ready(function() {
  213.             var sheetAnchor = self.document.location.hash.substring(1);
  214.             if( sheetAnchor == "" )
  215.                 sheetAnchor = 'vet';
  216.             toggleSheetView( sheetAnchor );
  217.            
  218.             $("a[id^=sheet-nav]").click( function() {
  219.                 var linkId = $(this).attr("id");
  220.                 var sheet = linkId.split('-'); //sheet-nav-sheetId
  221.                 toggleSheetView( sheet[2] );
  222.             });
  223.            
  224.             $('.date-pick').datePicker( {startDate:'01/01/1980'} );
  225.            
  226.             $("#classified-form-reset").click( function() {
  227.                 window.location="http://www.theyellowhorse.com/members/classified/index.php?screen=&letter=";
  228.             });
  229.             $("#classified-form-smgr-reset").click( function() {
  230.                 $("#formclassifiedcancel").submit();
  231.             });
  232.         });
  233.     </script>
  234.    
  235.     <style type="text/css">
  236.         table.standard-table .input-checkbox {
  237.             width: auto;
  238.         }
  239.         #myhorse-sheet-nav {
  240.        
  241.         }
  242.         #myhorse-sheet-nav li {
  243.             float: left;
  244.             font-family: Verdana, Arial, Helvetica, sans-serif;
  245.             font-size: 12px;
  246.             font-weight: bold;
  247.             width: 75px;
  248.             color: #235;
  249.         }
  250.         #myhorse-sheet-nav a {
  251.             display: block;
  252.             width: 75px;
  253.             text-align: center;
  254.             padding: 4px;
  255.         }
  256.         #myhorse-sheet-nav a:hover {
  257.             color: #000;
  258.             background-color: #2e4c6b;
  259.         }
  260.         #myhorse-sheet-nav a.selected {
  261.             color: #000;
  262.             background-color: #2e4c6b;
  263.         }
  264.         .standard-table {
  265.             clear: both;
  266.         }
  267.         table.sheet-table {
  268.             margin-left: 0;
  269.         }
  270.         table.sheet-table th {
  271.             background-color: #2e4c6b;
  272.             color: #eaf0f7;
  273.             text-align: center;
  274.             padding: 5px;
  275.         }
  276.         #tablesheet-vet {
  277.             display:;
  278.         }
  279.         #tablesheet-farrier {
  280.             display: none;
  281.         }
  282.         #tablesheet-training {
  283.             display: none;
  284.         }
  285.         #tablesheet-other {
  286.             display: none;
  287.         }
  288.        
  289.     </style>
  290.  
  291.  
  292.  
  293.        
  294.     </body>
  295.  
  296. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement