F5 in chrome then the theme go white
Hi
if I refresh with F5 in chrome then the theme go white
how can I fix this
Regards
Sigster
- <?
- session_start();
- if($_SESSION["strUserID"] == "")
- {
- header("location:index.php");
- exit();
- }
- ?>
- <!DOCTYPE html>
- <html>
- <head>
- <title>List</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <link rel="stylesheet" href="theme/jquery.mobile-1.4.5.min.css">
- <script src="theme/jquery-1.11.2.min.js"></script>
- <script src="theme/jquery.mobile-1.4.5.min.js"></script>
-
- </head>
- <body>
-
-
- <div data-role="page">
-
- <div data-role="header">
-
-
- <a href="index.php" data-icon="home" class="ui-btn-right">back</a>
- <a href="addnew.php" data-rel="dialog" data-icon="home" class="ui-btn-left">ADD new</a>
-
- <h1>List</h1>
- </div><!-- /header -->
-
- <br />
-
- <ul data-role="listview" data-filter="true" data-inset="true" data-theme="d" data-divider-theme="e">
-
- <?
- $objConnect = mysql_connect("SERVER","USER","PASS") or die(mysql_error());
- $objDB = mysql_select_db("DATABASE");
-
-
- $strSQL = " SELECT * FROM list";
-
- $objQuery = mysql_query($strSQL) or die (mysql_error());
- while($objResult = mysql_fetch_array($objQuery))
- {
- ?>
- <p><li><a href="contact.php?contactID=<?=$objResult["ID"];?>"><?=$objResult["name"];?></a>
-
- <a href="change.php?ID=<?=$objResult["ID"];?>" data-rel="dialog" data-transition="fade">Change</a>
-
- <?
- }
- ?>
- </ul>
-
- <div data-role="footer">
- <h1></h1>
- </div><!-- /page -->
-
- </body>
- </html>