<?php } ?> <a href="/quizzes/popular">Quizzes</a> <a href="/people/leaderboard">People</a> <a href="/tags">Tags</a> </li> <li class="nav_sub"> <?php if ($session == TRUE) { ?> Hi, <a href="/<?php echo $username; ?> "><?php echo get_firstname($fullname); ?> </a> | <a href="/settings/profile">Settings</a> | <a href="/logout<?php echo $pageid; ?> ">Logout</a> <?php } else { ?> <a href="/">Sign Up</a> | <a href="/login<?php echo $pageid; ?> ">Log In</a> | <a href="/tour">Take a tour</a> <?php } ?>
?> and now don't have access to change your username again.</span> </td></tr> <?php } else { ?> <tr><td style="width:160px;">Username: <span id="usrn" >http://fashionsponge.com/fs/</span></td><td style="width:200px;"> <input onclick="uns();unclnfn_hide()" id="unch_in" name="t_web" value="<?php get_username(); ?> " type='text' /> </td> <td style="width:150px;"> <span id="unch" >click ok to update your username <input onclick="unok()" type="button" value="ok" </input> </span></td></tr> <?php } ?> <tr><td style="width:150px;">First Name:</td> <td style="width:200px;"> <input onclick="fnameshow_msg();unh()" id="fname" name="t_web" value="<?php get_firstname(); ?> " type='text' /> </td> <td style="width:150px;"> <span id="fnchge" >successfully change </span> <span id="fnmsg"> click ok to update your firts name <input onclick="fnok()" type="button" value="ok" </input> </span></td></tr> <tr><td style="width:150px;">Last Name:</td> <td style="width:200px;"> <input onclick="lnameshow_msg();unh()" id="lname" name="t_web" value="<?php get_lastname(); ?> " type='text' /> </td> <td style="width:150px;"> <span id="lnchge" >successfully change </span> <span id="lnmsg" >click ok to update your last name <input onclick="lnok()" type="button" value="ok" </input> </span></td></tr> <td style="width:150px;" >Occupation:</td> <td style="width:150px;" > <?php $m = "Accessory Designer-Actress-Blogger-Boutique-Business Professional-Fashion Designer-Graphic Designer-Hair Stylist-House Wife-Illustrator-Make Up Artist-Model-Musician-Photographer-Social Media Marketer-Student-Wardrobe Stylist-Other"; $m = explode('-', $m); ?> <select class="preffered_style" id="occupation">
function get_firstname($name){ $ret = explode(' ',trim($name)); return $ret[0]; } if (!isset($inRow["id"])) { $invcount = mysql_query("SELECT (IFNULL( MAX(id) ,0) +1) AS maxid FROM invoices") or die(mysql_error()); $invcount = mysql_fetch_assoc($invcount); $invcount = isset($invcount["maxid"])? $invcount["maxid"] : 1;; $inv_numb = -1; } else { $invcount = $inRow["id"]; $inv_numb = $inRow["id"]; } ?> <input type="hidden" value="<?=get_firstname($operator);?>" id="user" /> <input type="text" value="<?=get_firstname($operator);?>#<?=$invcount;?>" id="invid" inv="<?=$inv_numb;?>" style="width:100%; text-align:center; background-color:transparent; border:0; text-decoration: none;" disabled class="textbox3"/> </div> <div class="b" style="margin-top:3px;"> TRANS DATE </div> <div> <?php $date_state = strtolower($inRow['type'])=='invoice'?date('d/m/Y H:i', $inRow['date']):""; ?> <input type="text" style="width:100%; text-align:center; background-color:transparent; border:0;" id="date" value="<?=$date_state;?>" readonly class="textbox3"/> </div> </div> <div class="l bt" style="width:15%;"> <?php $type = isset($inRow["type"])? strtolower($inRow["type"]) : "invoice"; $type_state1 = $type=="invoice"?'disabled="disabled"':"";
</tr> <tr> <th align='center' colspan='3'>BANK DEPOSITED</th> <th align='right' colspan='2'><input type='text' style='width:100px' value='$ <?=number_format(floatval($bank), 2,'.','');?>' tab='23' class='input sum last bank' /></th> </tr> <tr> <th align='center' colspan='3'>CASH PAYMENTS</th> <th align='right' colspan='2'><input type='text' style='width:100px' value='$ <?=number_format(floatval($cashpay), 2,'.','');?>' tab='23' class='input sum last cashpay' /></th> </tr> <tr style='background:silver'> <th align='center' colspan='3'>DIFFERENCE</th> <th align='right' colspan='2'><input type='text' style='width:100px' value='$ <?=number_format(floatval($bank)+floatval($cashpay), 2,'.','');?>' id='differ' class='input sum last' disabled /></th> </tr> </table> <form method="post"> <input type='hidden' value='<?=get_firstname($operator);?>' name='user' /> <input type='hidden' value='<?=$date_set;?>' name='date' /> <input type='hidden' value='<?=number_format(floatval($bank), 2,'.','');?>' name='bank'/> <input type='hidden' value='<?=number_format(floatval($cashpay), 2,'.','');?>' name='cashpay'/> <input type='hidden' value='' name='before'/> <input type='hidden' value='' name='after'/> <input type='hidden' value='' name='totbef'/> <input type='hidden' value='' name='totaf'/> <?php if (!isset($_POST['print'])) { ?> <p> <input type='submit' name='print' value='PRINT RECEIPT' style='font-weight:bold; width:150px; margin-right:88px;'/> <input type='submit' name='save' value='SAVE' style='font-weight:bold'/> </p> <?php } else {?> <script type="text/javascript"> jQuery(document).ready(function($) {