Jump to content

[SOLVED] "href" not working in IE and no problem in Firefox!!!!


chanchelkumar

Recommended Posts

hi friends,

 

In the below mention code the link

 

<a href="userstraining_add.php"><label class="p" style="cursor:hand">+ Add New Training Module</label></a>

 

is not working with IE but this link is ok with fire fox!!!!

 

 

 

<?php
session_start();
if(isset($_SESSION['adminuser'])){
include "dbconnect.php";
$username=$_SESSION['user_name'];
$page_val=4;
$level=$_SESSION['level'];
$query="select * from ib_training";
$result=mysql_query($query) or die(mysql_error());
?>
<html>
<head>
<title>Admin Backoffice</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="style.css" type="text/css">
<script language=JavaScript src='editor/scripts/innovaeditor.js'></script>
<script src="../ajax/activatepage.js"></script>
<script src="../ajax/selecttraining.js"></script>

<style type="text/css">
<!--
.style2 {color: #CCCCCC}
.style5 {color: #CCCCCC; font-size: 10px; }
.style13 {font-size: 12px; font-weight: bold; color: #FFFFFF; }
-->
</style>
<script type="text/javascript">
function del_confirm(id)
  {
  //var loc="deleteadmin.php?id="+id;
  var r=confirm("Do you want to delete this Account??")
  if (r==true)
    {
     training_delete(id)
    }
    }

</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<table width="827" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td width="827" height="173"><img src="images/index_01.jpg" width="827" height="173"></td>
  </tr>
  <tr> 
    <td>
      <table width="827" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td background="images/index_03.jpg" valign="top" align="left" width="15"><img src="images/index_03.jpg" width="15" height="13"></td>
          <td width="793" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><table width="730" border="0" align="center" cellpadding="10" cellspacing="0">
                      <tr>
                        <td><table width="100%" border="0" cellspacing="2" cellpadding="2">
                          <tr>
                            <td width="425" valign="top"><h2>Admin Dashboard:</h2>
                                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                  <tr>
                                    <td>Welcome <strong><?=$_SESSION['adminuser']?></strong> to the admin Backoffice. </td>
                                  </tr>
                                  <tr>
                                    <td> </td>
                                  </tr>
                                </table>
                              <table width="100%" border="0" cellpadding="2" cellspacing="0" class="">
                                  <tr>
                                    <td><?php include('menu.inc'); ?></td>
                                  </tr>
                              </table></td>
                            <td width="16" valign="top"><p> </p>
                                <p> </p></td>
                            <td width="269" height="173" valign="middle" background="images/card-flat2.jpg"><table width="269" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td height="44"> </td>
                                  <td colspan="2"> </td>
                                  <td> </td>
                                </tr>
                                <tr>
                                  <td width="4%" height="80"> </td>
                                  <td colspan="2"><p> </p>
                                              <p> </p></td>
                                  <td width="5%"> </td>
                                </tr>
                                <tr>
                                  <td height="19"> </td>
                                  <td width="54%" valign="bottom"><span class="style2"><strong><?=$_SESSION['adminuser']?></strong></span></td>
                                  <td width="100" valign="bottom"><div align="right"><span class="style5">Access Level :<strong><?=$_SESSION['level']?></strong></span></div></td>
                                  <td> </td>
                                </tr>
							<tr>
                                  <td height="19"> </td>
                                  <td width="54%" valign="bottom"><span class="style2"> </span></td>
                                  <td width="100" valign="bottom"><div align="right" class="style5"><a href="adminlogout.php"><strong><font color="#CCCCCC">Logout</font></strong></a></div></td>
                                  <td> </td>
                                </tr>
                            </table></td>
                          </tr>
                        </table></td>
                      </tr>
                    </table>                      </td>
                    </tr>
                </table>
                <table width="700" border="0" align="center" cellpadding="10" cellspacing="0" class="sales_panel">
                  <tr>
                    <td><h2><img src="images/ec0027-48-1-g.jpg" width="66" height="66" align="middle"> Users Training Area:
                      </h2>
                      <p align="right"><a href="userstraining_add.php"><label class="p" style="cursor:hand">+ Add New Training Module</label></a>
                        </p>


					<table> <div id="add_training"> </div>
                        <div id="list"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="63%" height="22" background="images/green_bar_bg.jpg"><span class="style13">Discription:</span></td>
                            <td width="15%" height="22" background="images/green_bar_bg.jpg"><div align="center" class="style13">Active Page:</div></td>
                            <td width="8%" height="22" background="images/green_bar_bg.jpg"><span class="style13">Preview:</span></td>
                            <td width="6%" height="22" background="images/green_bar_bg.jpg"> <div align="center" class="style13">Edit: </div></td>
                            <td width="8%" height="22" background="images/green_bar_bg.jpg"><div align="center" class="style13">Delete: </div></td>
                          </tr>
					  <?php
					  while($row=mysql_fetch_array($result)){
					    $id=$row['id'];
						$desc=$row['desc1'];
						$active=$row['publish'];
						$flag=0;
						if($active=="active")
						{
						$flag=1;
						}
						?>
                          <tr>
                            <td><?= $desc ?> </td>
                            <td><div align="center">Yes<input onClick="action1(1,<?php echo $id; ?>);" name="<?php echo $id; ?>activate" type="radio" value="1" <?php if($flag){echo ' checked="checked"';} ?> />
						No<input  onclick="action1(0,<?php echo $id; ?>)" name="<?php echo $id; ?>activate" type="radio" value="0" <?php if(!$flag){echo ' checked="checked"';} ?> />
                            </div></td>
                            <td><div align="center"><!--a href="trainingview.php?id=<?=$id?>"--><img src="images/ni0104-16.png" width="16" height="16" border="0" class="p" style="cursor:hand" onClick="view_training(<?=$id ?>)" ></a></div></td>
                            <td><div align="center"><a href="userstraining_edit.php?id=<?=$id?>"><img src="images/wi0001-16.png" width="16" height="16" border="0" class="p" style="cursor:hand"></a></div></td>
                            <td><div align="center"><!--a href="deletetraining.php?id=<?=$id ?>"--><img src="images/ni0073-16.png" width="16" height="16" border="0" class="p" style="cursor:hand"  onClick="del_confirm(<?=$id ?>)"></a></div></td>
                          </tr>
                          <tr>
                            <td colspan="5"><div id="center">
                              <hr size="1">
</div></td>
                          </tr>
					  <? } ?>
                        </table></div> <p align="center"></p><tr><td>
                       
                                                
                      </td>
                  </tr>
                </table><div id="view"></div>
                <p> </p></td>
            </tr>
          </table></td>
          <td width="19" background="images/index_05.jpg" valign="top" align="right"><img src="images/index_05.jpg" width="19" height="13"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<div id="txtHint"></div>
</body>
</html>
<?php 
}
else{
header("Location:admin_backoffice_login.php");
}
?>

 

Thanks in advance!!!!!

what do you mean not working, 404 error, or link doesnt show up or what?

 

No error is showing!!!!

 

Just that link is not working!!!

 

When we click on that link the address is showing in the information bar!!!!

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.