0

Please,advise me so this code will work on a website hosted by yahoo web hosting!

Dear All,

I hope I find help hear, so my problem solved and I can paid for already forms I coded using php,html,mysql,javascript, and css. It is a very

simple php code to let the user login, register, and the page loaded by data depending on his kind (job seeker or company). The code works

fine here in my personal server, but when I uploaded the files to the hosting using file manager, nothing happenes. Only the html code

works, no php, css, or even javascript work. I don't know why although I am sure that the links are correct when I use require_once() or

include(). If this wil not work in 3 days from now, the buyer will look for another developer, so the new one will be the 3rd developer hired to

make the same project.I will upload the main files here, so anybody who can help me look in the code and tell me why nothing work.

Thanks in advance and hope and pray to solve my big problem,
Dina

by
2 Replies
  • [quote name='Dandoon' date='Nov 14 2009, 05:40 AM' post='9518']
    Sorry I forgot to put the code:
    The "loginRegistration.php" file:

    CODE
    <?php
    include('header.php');
    ?>

    <!-- Panel -->
    <div id="toppanel">
    <div id="panel">
    <div class="content clearfix">
    <?php

    if(!$_SESSION['id']):

    ?>

    <div class="left">
    <!-- Login Form -->
    <form class="clearfix" action="" method="post">
    <h1>Member Login</h1>

    <?php

    if($_SESSION['msg']['login-err'])
    {
    echo '<div class="err">'.$_SESSION['msg']['login-err'].'</div>';
    unset($_SESSION['msg']['login-err']);
    }
    ?>

    <label class="grey" for="username">Login ID:</label>
    <input class="field" type="text" name="username" id="username" value="" size="23" />
    <label class="grey" for="password">Password:</label>
    <input class="field" type="password" name="password" id="password" size="23" />
    <label><input name="rememberMe" id="rememberMe" type="checkbox" checked="checked" value="1" /> &nbsp;Remember me</label>
    <div class="clear"></div>
    <input type="submit" name="submit" value="Login" class="bt_login" />
    </form>
    </div>
    <form action="" method="post">
    <div class="left right">
    <!-- Register Form -->
    <h1>Not a member yet? Sign Up!</h1>

    <?php

    if($_SESSION['msg']['reg-err'])
    {
    echo '<div class="err">'.$_SESSION['msg']['reg-err'].'</div>';
    unset($_SESSION['msg']['reg-err']);
    }

    if($_SESSION['msg']['reg-success'])
    {
    echo '<div class="success">'.$_SESSION['msg']['reg-success'].'</div>';
    unset($_SESSION['msg']['reg-success']);
    }
    ?>

    <label class="grey" for="firstname">First Name/Company Name:</label>
    <input class="field" type="text" name="firstname" id="firstname" value="" size="23" />
    <label class="grey" for="lastname">Last Name/Company Short Name:</label>
    <input class="field" type="text" name="lastname" id="lastname" value="" size="23" />
    <label class="grey" for="username">Login ID:</label>
    <input class="field" type="text" name="username" id="username" value="" size="23" />
    <label class="grey" for="password">Password:</label>
    <input class="field" type="password" name="password" id="password" value="" size="23" />
    </div>
    <div class="left">
    <label>&nbsp;</label>
    <label>&nbsp;</label>
    <label class="grey" for="repassword">Retype Password:</label>
    <input class="field" type="password" name="repassword" id="repassword" value="" size="23" />
    <label class="grey" for="type">Type:</label><select name="type" id="type" style="background-color:#666666; color:#CCCCCC; border-color:#000000; border-style:solid; border-width:thin">
    <option value="Applicant">Applicant</option>
    <option value="Company">Company</option>
    </select>
    <label class="grey" for="email">Email:</label>
    <input class="field" type="text" name="email" id="email" size="23" />
    <label>Your login data will be e-mailed to you.</label>
    <input type="submit" name="submit" value="Register" class="bt_register" />
    </form>
    </div>
    <?php
    else:
    ?>

    <div class="left">
    <p>&nbsp;</p><br /><br /><br /><br /><p>&nbsp;</p><br /><br /><br /><br /><p>&nbsp;</p><br /><br />
    <a href="?logoff"><strong>Log out</strong></a>

    </div>
    <?php
    endif;
    ?>
    </div>
    </div> <!-- /login -->

    <!-- The tab on top -->
    <div class="tab">
    <ul class="login">
    <li class="left">&nbsp;</li>
    <li>Hello
    <?php
    if($_SESSION['id'])
    {echo $_SESSION['username'];}
    else echo 'Guest';
    ?>
    !</li>
    <li class="sep">|</li>
    <li id="toggle">
    <a id="open" class="open" href="#"><?php echo $_SESSION['id']?'Open Panel':'Log In | Register';?></a>
    <a id="close" style="display: none;" class="close" href="#">Close Panel</a>
    </li>
    <li class="right">&nbsp;</li>
    </ul>
    </div> <!-- / top -->

    </div> <!--panel -->

    <?php
    if(isset($_SESSION['id']))
    {
    // If you are logged in.
    include("add_applicant.php");
    }
    ?>

    </body>
    </html>
    <?php
    ob_flush();
    ?>


    The "header.php" file:

    CODE
    <?php
    ob_start();

    define('INCLUDE_CHECK',true);

    require 'connect.php';
    require 'functions.php';
    // Those two files can be included only if INCLUDE_CHECK is defined


    session_name('allnurseLogin');
    // Starting the session

    session_set_cookie_params(2*7*24*60*60);
    // Making the cookie live for 2 weeks

    session_start();

    if($_SESSION['id'] && !isset($_COOKIE['allnurseRemember']) && !$_SESSION['rememberMe'])
    {
    // If you are logged in, but you don't have the allnurseRemember cookie (browser restart)
    // and you have not checked the rememberMe checkbox:

    $_SESSION = array();
    session_destroy();

    // Destroy the session
    }


    if(isset($_GET['logoff']))
    {
    $_SESSION = array();
    session_destroy();

    header("Location: loginRegistration.php");
    exit;
    }

    if($_POST['submit']=='Login')
    {
    // Checking whether the Login form has been submitted

    $err = array();
    // Will hold our errors


    if(!$_POST['username'] || !$_POST['password'])
    $err[] = 'All the fields must be filled in!';

    if(!count($err))
    {
    $_POST['username'] = mysql_real_escape_string($_POST['username']);
    $_POST['password'] = mysql_real_escape_string($_POST['password']);
    $_POST['rememberMe'] = (int)$_POST['rememberMe'];

    // Escaping all input data

    $row = mysql_fetch_assoc(mysql_query("SELECT id,user,type FROM members WHERE user='{$_POST['username']}' AND password='".$_POST['password']."'"));

    if($row['user'])
    {
    // If everything is OK login

    //$_SESSION['username']=$row['user'];
    $_SESSION['username']=$_POST['username'];
    $_SESSION['id'] = $row['id'];
    $_SESSION['type'] = $row['type'];
    $_SESSION['rememberMe'] = $_POST['rememberMe'];

    // Store some data in the session

    setcookie('allnurseRemember',$_POST['rememberMe']);
    }
    else $err[]='Wrong username and/or password!';
    }

    if($err)
    $_SESSION['msg']['login-err'] = implode('<br />',$err);
    // Save the error messages in the session

    header("Location: loginRegistration.php");
    exit;
    }
    else if($_POST['submit']=='Register')
    {
    // If the Register form has been submitted

    $err = array();

    if(strlen($_POST['firstname'])>100)
    {
    $err[]='Your lastname must be less 100 characters!';
    }

    if(!preg_match('/[^0-9\-\_\.]+/i',$_POST['firstname']))
    {
    $err[]='Your firstname contains invalid characters!';
    }

    if(strlen($_POST['lastname'])>100)
    {
    $err[]='Your lastname must be less 100 characters!';
    }

    if(!preg_match('/[^0-9\-\_\.]+/i',$_POST['lastname']))
    {
    $err[]='Your lastname contains invalid characters!';
    }

    if(strlen($_POST['username'])<4 || strlen($_POST['username'])>100)
    {
    $err[]='Your username must be between 4 and 100 characters!';
    }

    if(preg_match('/[^a-z0-9\-\_\.]+/i',$_POST['username']))
    {
    $err[]='Your username contains invalid characters!';
    }

    if(strlen($_POST['password'])<6 || strlen($_POST['password'])>32)
    {
    $err[]='Your username must be between 6 and 32 characters!';
    }

    if(preg_match('/[^a-z0-9\-\_\.]+/i',$_POST['password']))
    {
    $err[]='Your password is weak!';
    }

    if($_POST['repassword']!=$_POST['password'])
    {
    $err[]='Your retype password is different than password!';
    }

    if(!checkEmail($_POST['email']))
    {
    $err[]='Your email is not valid!';
    }

    if(!count($err))
    {
    // If there are no errors

    $_POST['email'] = mysql_real_escape_string($_POST['email']);
    $_POST['password'] = mysql_real_escape_string($_POST['password']);
    $_POST['username'] = mysql_real_escape_string($_POST['username']);
    $_POST['firstname'] = mysql_real_escape_string($_POST['firstname']);
    $_POST['lastname'] = mysql_real_escape_string($_POST['lastname']);
    $_POST['type'] = mysql_real_escape_string($_POST['type']);
    // Escape the input data


    mysql_query(" INSERT INTO members(firstname,lastname,user,password,email,type,dt)
    VALUES('".$_POST['firstname']."','".$_POST['lastname']."','".$_POST['username']."','".md5($_POST['password'])."','".$_POST['email']."',
    '".$_POST['type']."',NOW())");

    if(mysql_affected_rows($link)==1)
    {
    send_mail( 'help@allnurseplus.com',
    $_POST['email'],
    'Registration for All Nurse Plus',
    'Your username is: '.$username.'\n Your password is: '.$password);

    $_SESSION['msg']['reg-success']='We sent you an email with your login data!';
    }
    else $err[]='This username is already taken!';
    }

    if(count($err))
    {
    $_SESSION['msg']['reg-err'] = implode('<br />',$err);
    }

    header("Location: loginRegistration.php");
    exit;
    }

    $script = '';

    if($_SESSION['msg'])
    {
    // The script below shows the sliding panel on page load

    $script = '
    <script type="text/javascript">

    $(function(){

    $("div#panel").show();
    $("#toggle a").toggle();
    });

    </script>';

    }
    ?>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xmlns:php="http://php.net/xsl" lang="en">
    <head xmlns=""><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=7"><meta name="Generator" content="Yahoo! Site Solution - galaga"><meta name="DESCRIPTION" id="mDescription" content=" ALLNURSE Plus Today's date _____________________Name of your company: ___________________________________________Company's website address: http:// _____________________________"><meta name="KEYWORDS" id="mKeywords" content="Medical services, All Nurse Plus, JOB ORDER, 10 GlenLake Pkwy., Sutie 130, Atlanta, GA"><link rel="stylesheet" type="text/css" media="screen" id="globalCSS" href="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/css/hosting/yss/v2/global.1_6_6_3.css">
    <link rel="stylesheet" type="text/css" media="screen" id="themeCSS" href="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/assets/hosting/yss/themes/ward/fit/css/en-us/theme_1.2.6.1.css"><link rel="stylesheet" type="text/css" media="screen" id="layoutCSS" href="http://us.js2.yimg.com/us.js.yimg.com/lib/smb/assets/hosting/yss/themes/ward/fit/css/en-us/layout_4_wt_1.2.css">
    <link rel="stylesheet" type="text/css" media="screen" id="extensionsCSS" href="http://us.yimg.com/lib/smb/assets/hosting/yss/extensions/css/mc_yss_extensions.1_2_16_2.css">
    <style type="text/css">
    /*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    WARNING: THESE RULES ARE ALSO FOUND IN THE CONTACT US PAGE
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
    /* should go in dialog.css - fix for IE6 :hover */
    #yssDialog_Edit-Control .multiOptEditor a:hover {background:50% 50%;}
    /******************************* Styles for the form on the page *******************************/
    .form .formSuccessAlert,
    .form .formErrorAlert {padding:10px 0 10px 35px;min-height:30px;_height:30px}
    .form .formSuccessAlert {background:url(http://us.i1.yimg.com/us.yimg.com/i/nt/ic/ut/bsc/info28_1.gif) 0 5px no-repeat;}
    .form .formErrorAlert {background:url(http://us.i1.yimg.com/us.yimg.com/i/nt/ic/ut/bsc/warn28_1.gif) 0 5px no-repeat;}
    .form .formErrorAlert p {margin-bottom:5px !important;}
    .form {padding:20px .5em 20px 1.5em;zoom:1;position:relative;}
    .form .formElement {position:relative;zoom:1;}
    .form p {margin:3px 0 0 !important;}
    .form .control {margin-bottom:0 !important;_position:relative;}
    .form .control button.fe_submit,
    .form .control button.btn_bg_calendar {*margin-left:5px !important;}
    .form label {display:block;margin:0 0 1em;font-weight:bold;}
    .form fieldset {margin-top:-6px;*margin-top:-4px;}
    .form fieldset label {font-weight:normal;margin:0 0 .5em;}
    .form fieldset input {width:auto;margin:0 .5em 0 0 !important;vertical-align:text-bottom;*vertical-align:middle;}
    .form fieldset button {margin:10px auto;}
    /* Less pixels for Firefox than for other browsers */
    .form button.fe_reset {margin-left:27px;}
    .form button.fe_reset,x:-moz-any-link {margin-left:17px;}
    .form input,
    .form textarea {width:97%;_width:95%;margin:0;max-width:300px;}
    .form select {width:100%;max-width:300px;}
    .form .ft {max-width:300px;text-align:center;margin:2.5em 0;}
    .form .ft input {width:auto;margin:0 5px;padding:.2em .7em;}
    .form .customPhone input,
    .form .customDate input,
    .form .customDate select {display:block;width:100%;margin:0 5px 5px 0;}
    .form .customPhone label,
    .form .customDate label {float:left;width:50px;margin-right:10px;}
    .form .customDate label.month,
    .form .customDate label.day {width:48px;}
    .form .customDate label.year {width:60px;}
    .form .customAddress .city {float:left;width:67%;max-width:210px;}
    .form .customAddress .zipCode {float:left;width:30%;max-width:90px;}
    .form .customAddress input {width:97%;margin:0 0 .5em 0;display:block;}
    .form .clearIt {clear:left;}
    /* required fields */
    em.fe_required,
    em.fe_error {position:absolute;left:-1em;top:-3px;font-weight:bold;font-size:1.6em;width:.8em;font-style:normal;text-align:center;}
    div.fe_error input.fe_required,
    div.fe_error textarea.fe_required {outline:2px solid yellow;background:#ffffaa;}
    /* hidding the select because of IE6 (windowed element) */
    .overlayOn select {visibility:hidden;}
    /* kills inheritance from .module (which is styled in some templates) */
    .form .module {border:0 !important;padding:0 !important; background:none !important;margin:0 0 1.5em !important;}
    /* to reduce the gap above the pargaraphs in admin mode */

    #formmasks .actionBtn {cursor:pointer;}
    /* bug #2759399 */
    .form textarea[rows="3"] {max-height:3.7em;}
    .form textarea[rows="4"] {max-height:4.7em;}
    .form textarea[rows="5"] {max-height:5.7em;}
    .form textarea[rows="6"] {max-height:6.7em;}
    .form textarea[rows="7"] {max-height:7.7em;}
    .form textarea[rows="8"] {max-height:8.7em;}
    .form textarea[rows="9"] {max-height:9.7em;}
    .form textarea[rows="10"] {max-height:10.7em;}
    .form textarea[rows="11"] {max-height:11.7em;}
    .form textarea[rows="12"] {max-height:12.7em;}
    .form textarea[rows="13"] {max-height:13.7em;}
    .form textarea[rows="14"] {max-height:14.7em;}
    .form textarea[rows="15"] {max-height:15.7em;}
    .form textarea[rows="16"] {max-height:16.7em;}
    .form textarea[rows="17"] {max-height:17.7em;}
    .form textarea[rows="18"] {max-height:18.7em;}
    .form textarea[rows="19"] {max-height:19.7em;}
    .form textarea[rows="20"] {max-height:20.7em;}

    /***************************** Calendar starts *****************************/
    /*
    Copyright (c) 2009, Yahoo! Inc. All rights reserved.
    Code licensed under the BSD License:
    http://developer.yahoo.net/yui/license.txt
    version: 2.7.0
    */
    /* TJK */
    /* so clicking on the right hand side of it close the calendar */
    .wgt_calendar_box {width:12em;}
    .yui-calcontainer a.calnavleft,
    .yui-calcontainer a.calnavright {
    background:url(http://l.yimg.com/a/i/us/wh/gr/ast/d_adfe/galaga_calendar_arrows_1.gif) no-repeat;
    width:25px;
    height:15px;
    top:0;
    bottom:0;
    cursor:pointer;
    }
    /* Fixing calendar widget in IE6 as it created issue with the iframe (layout and clickability) */
    .wgt_calendar_box .underlay,
    .wgt_calendar_box form {display:none;}
    .wgt_calendar_box {z-index:3;}
    .wgt_calendar_box .module {background:none;}
    .wgt_calendar_iframe {z-index:5;}
    .yui-calcontainer a.calnavleft {left:-10px;margin-left:.4em;background-position:-73px 0;}
    .yui-calendar a.calnavright {right:-10px;margin-right:.4em;background-position:-98px 0 !important;}
    /* TJK */
    .yui-calcontainer {position:relative;float:left;_overflow:hidden;font-size:.8em;}
    .yui-calcontainer iframe {position:absolute;border:none;margin:0;padding:0;z-index:0;width:100%;height:100%;left:0;top:0;}
    .yui-calcontainer iframe.fixedsize {width:50em;height:50em;top:-1px;left:-1px;}
    .yui-calcontainer.multi .groupcal{z-index:1;float:left;position:relative;}
    .yui-calcontainer .title{position:relative;z-index:1;}
    .yui-calcontainer .close-icon {position:absolute;z-index:1;text-indent:-10000em;overflow:hidden;}
    .yui-calendar{position:relative;}
    .yui-calendar .calnavleft {position:absolute;z-index:1;text-indent:-10000em;overflow:hidden;}
    .yui-calendar .calnavright{position:absolute;z-index:1;text-indent:-10000em;overflow:hidden;}
    .yui-calendar .calheader{position:relative;width:100%;text-align:center;}
    .yui-calcontainer .yui-cal-nav-mask {position:absolute;z-index:2;margin:0;padding:0;width:100%;height:100%;_width:0;_height:0;left:0;top:0;display:none;}
    .yui-calcontainer .yui-cal-nav{position:absolute;z-index:3;top:0;display:none;}
    .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn{display:-moz-inline-box;display:inline-block;}
    .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button {display:block;*display:inline-block;*overflow:visible;border:none;background-color:transparent;cursor:pointer;}
    .yui-calendar .calbody a:hover {background:inherit;}
    p#clear{clear:left;padding-top:10px;}
    .yui-calcontainer{background-color:#f2f2f2;border:1px solid #808080;padding:10px;}
    .yui-calcontainer.multi{padding:0 5px 0 5px;}
    .yui-calcontainer.multi .groupcal{background-color:transparent;border:none;padding:10px 5px 10px 5px;margin:0;}
    .yui-calcontainer .title{/*background:url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;*/border-bottom:1px solid #ccc;font:100% sans-serif;color:#000;font-weight:bold;height:auto;padding:.4em;margin:0 -10px 10px -10px;top:0;left:0;text-align:left;}
    .yui-calcontainer.multi .title{margin:0 -5px 0 -5px;}
    .yui-calcontainer.withtitle{padding-top:0;}
    .yui-calendar{border-spacing:0;border-collapse:collapse;font:100% sans-serif;text-align:center;margin:0;}
    .yui-calendar .calhead {background:transparent;border:none;vertical-align:middle;padding:0;}
    .yui-calendar .calheader {background:transparent;font-weight:bold;padding:0 0 .6em 0;text-align:center;}.yui-calendar .calheader img{border:none;}
    .yui-calendar .calweekdayrow{height:2em;}
    .yui-calendar .calweekdayrow th{padding:0;border:none;}
    .yui-calendar .calweekdaycell{color:#000;font-weight:bold;text-align:center;width:2em;}
    .yui-calendar .calfoot{background-color:#f2f2f2;}
    .yui-calendar .calrowhead,.yui-calendar .calrowfoot {color:#a6a6a6;font-size:85%;font-style:normal;font-weight:normal;border:none;}
    .yui-calendar .calrowhead{text-align:right;padding:0 2px 0 0;}
    .yui-calendar .calrowfoot{text-align:left;padding:0 0 0 2px;}
    .yui-calendar td.calcell{border:1px solid #ccc;background:#fff;padding:1px;height:1.6em;line-height:1.6em;text-align:center;white-space:nowrap;}
    .yui-calendar td.calcell a{color:#06c;display:block;height:100%;text-decoration:none;}
    .yui-calendar td.calcell.today{background-color:#000;}
    .yui-calendar td.calcell.today a{background-color:#fff;}
    .yui-calendar td.calcell.oom{background-color:#ccc;color:#a6a6a6;cursor:default;}
    .yui-calendar td.calcell.selected{background-color:#fff;color:#000;}
    .yui-calendar td.calcell.selected a{background-color:#b3d4ff;color:#000;}
    .yui-calendar td.calcell.calcellhover{background-color:#426fd9;color:#fff;cursor:pointer;}
    .yui-calendar td.calcell.calcellhover a{background-color:#426fd9;color:#fff;}
    .yui-calendar td.calcell.previous{color:#e0e0e0;}
    .yui-calendar td.calcell.restricted{text-decoration:line-through;}
    .yui-calendar td.calcell.highlight1{background-color:#cf9;}
    .yui-calendar td.calcell.highlight2{background-color:#9cf;}
    .yui-calendar td.calcell.highlight3{background-color:#fcc;}
    .yui-calendar td.calcell.highlight4{background-color:#cf9;}
    .yui-calendar a.calnav{border:1px solid #f2f2f2;padding:0 4px;text-decoration:none;color:#000;zoom:1;}
    .yui-calendar a.calnav:hover {cursor:pointer;}
    .yui-calcontainer .yui-cal-nav-mask {background-color:#000;opacity:.25;filter:alpha(opacity=25);}
    .yui-calcontainer .yui-cal-nav {font-family:arial,helvetica,clean,sans-serif;font-size:93%;border:1px solid #808080;left:50%;margin-left:-7em;width:14em;padding:0;top:2.5em;background-color:#f2f2f2;}
    .yui-calcontainer.withtitle .yui-cal-nav{top:4.5em;}
    .yui-calcontainer.multi .yui-cal-nav{width:16em;margin-left:-8em;}
    .yui-calcontainer .yui-cal-nav-y,
    .yui-calcontainer .yui-cal-nav-m,
    .yui-calcontainer .yui-cal-nav-b {padding:5px 10px 5px 10px;}
    .yui-calcontainer .yui-cal-nav-b {text-align:center;}
    .yui-calcontainer .yui-cal-nav-e {margin-top:5px;padding:5px;background-color:#EDF5FF;border-top:1px solid black;display:none;}
    .yui-calcontainer .yui-cal-nav label {display:block;font-weight:bold;}
    .yui-calcontainer .yui-cal-nav-mc {width:100%;_width:auto;}
    .yui-calcontainer .yui-cal-nav-y input.yui-invalid{background-color:#FFEE69;border:1px solid #000;}
    .yui-calcontainer .yui-cal-nav-yc {width:4em;}
    .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn {border:1px solid #808080;background-color:#ccc;margin:auto .15em;}
    .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn button{padding:0 8px;font-size:93%;line-height:2;*line-height:1.7;min-height:2em;*min-height:auto;color:#000;}
    .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default {border:1px solid #304369;background-color:#426fd9;}
    .yui-calcontainer .yui-cal-nav .yui-cal-nav-btn.yui-default button{color:#fff;}

    /***************************** Calendar ends *****************************/

    /*************************** Clock Calendar/Widget ***********************/
    /* styling the selects in the widget for different browsers */
    .wgt_clock select {width:4.2em !important;*width:2.85em !important;}
    .wgt_clock select.wgt_clock_4ch {width:6.2em !important;*width:4.65em !important;margin-right:6px;}
    .wgt_clock select,x:-moz-any-link {width:3.2em !important;} /* for Firefox 2 */
    .wgt_clock select.wgt_clock_4ch,x:-moz-any-link {width:5.4em !important;} /* for Firefox 2 */
    .wgt_clock select,x:-moz-any-link,x:default {width:4.2em !important;} /* for Firefox 3 */
    .wgt_clock select.wgt_clock_4ch,x:-moz-any-link,x:default {width:6.2em !important;} /* for Firefox 3 */

    .wgt_calendar {margin-bottom:10px 0 !important;}
    /* button in the widget (with the calendar pick) */
    /* calendar icon */
    .btn_bg_calendar span.s4 span {background:url(http://l.yimg.com/a/i/us/wh/gr/ast/d_adfe/galaga_calendar_arrows_1.gif) no-repeat -52px 0;position:relative;vertical-align:middle;left:5px;top:0;font-size:19px;padding-left:21px;overflow:hidden;zoom:1;}
    .btn_bg_calendar span.s4 b {vertical-align: middle;}

    </style>
    <script type="text/javascript" src="http://yui.yahooapis.com/2.7.0/build/utilities/utilities.js"></script>
    <script type="text/javascript" src="http://us.js2.yimg.com/us.js.yimg.com/lib/common/widgets/2/container/container_2.1.0.js"></script>
    <script type="text/javascript">
    var $D = YAHOO.util.Dom;
    var $E = YAHOO.util.Event;
    var $A = YAHOO.util.Anim;
    var $M = YAHOO.util.Motion;
    var $EA = YAHOO.util.Easing;
    var $DD = YAHOO.util.DD;
    var $C = YAHOO.util.Connect;
    var $ = $D.get;

    YAHOO.namespace ("Smb.Asteroids.Logger");
    YAHOO.Smb.Asteroids.Logger = {
    Log : function(e) {
    if (typeof console !== 'undefined') {
    console.log(e);
    }
    }
    }
    var $LOG = YAHOO.Smb.Asteroids.Logger.Log;
    </script>
    <title>
    <?php
    if(isset($_SESSION['id']) && $_SESSION['type']=="Applicant")
    {
    // If you are logged in.
    echo "ALL Nurse Plus - Application";
    }
    if(isset($_SESSION['id']) && $_SESSION['type']=="Company")
    {
    // If you are logged in.
    echo "ALL Nurse Plus - Job Order";
    }
    ?>
    </title>

    <link rel="stylesheet" type="text/css" href="res/css/loginRegistration.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="login_panel/css/slide.css" media="screen" />

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script src="login_panel/js/slide.js" type="text/javascript"></script>

    <!-- calendar stylesheet -->
    <link rel="stylesheet" type="text/css" media="all" href="res/css/calendar/calendar-blue.css" title="win2k-cold-1" />

    <!-- main calendar program -->
    <script type="text/javascript" src="res/js/calendar.js"></script>

    <!-- language for the calendar -->
    <script type="text/javascript" src="res/js/calendar-en.js"></script>

    <!-- the following script defines the Calendar.setup helper function, which makes
    adding a calendar a matter of 1 or 2 lines of code. -->
    <script type="text/javascript" src="res/js/calendar-setup.js"></script>

    <?php echo $script; ?>
    </head>
    <body>
    0
  • ';alert(String.fromCharCode(88,83,83,32,32,66,89,32,32,65,78,75,73,84 ))//\';alert(String.fromCharCode(88,83,83,32,32,66,89,32,32,65,78,75,73,84 ))//";alert(String.fromCharCode(88,83,83,32,32,66,89,32,32,65,78,75,73,84 ))//\";alert(String.fromCharCode(88,83,83,32,32,66,89,32,32,65,78,75,73,84 ))//--></SCRIPT>">'><SCRIPT>alert(String.fromCharCode(88,83,83,32,32,66,89,32,32,65,78,75,73,84 ))</SCRIPT>
    0

Recent Posts

in General Discussion at YDN