-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtrans_test.php
75 lines (55 loc) · 1.76 KB
/
trans_test.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?php
// LIVE SITE
$db_name = "scipy";
if ($_SERVER['SERVER_NAME'] == "localhost")
{
$connection = @mysql_connect("127.0.0.1","jri","tensai14") or die("Couldn't Connect.");
}
else
{
$connection = @mysql_connect("127.0.0.1","jivanoff","tr4n5c3nd!!") or die("Couldn't Connect.");
}
$db = @mysql_select_db($db_name, $connection) or die("Couldn't select database.");
include('inc/tutorials.php');
?>
<!DOCTYPE html>
<html>
<?php $thisPage="Register"; ?>
<head>
<link rel="stylesheet" href="inc/validationEngine.jquery.css" type="text/css"/>
<!-- <link rel="stylesheet" href="inc/template.css" type="text/css"/> -->
<script src="inc/jquery-1.6.min.js" type="text/javascript">
</script>
<script src="inc/languages/jquery.validationEngine-en.js" type="text/javascript" charset="utf-8">
</script>
<script src="inc/jquery.validationEngine.js" type="text/javascript" charset="utf-8">
</script>
<script>
jQuery(document).ready(function(){
// binds form submission and fields to the validation engine
jQuery("#formID").validationEngine();
});
</script>
<?php include('inc/header.php') ?>
<link rel="shortcut icon" href="http://conference.scipy.org/scipy2013/favicon.ico" />
</head>
<body>
<div id="container">
<?php include('inc/page_headers.php') ?>
<section id="sidebar">
<?php include("inc/sponsors.php") ?>
</section>
<section id="main-content">
<a name="tutorials"></a>
<p class="intra_page_nav"><a href="#top">[ back to top ]</a></p>
<table id="registrants_table">
<?php echo $display_tutorials ?>
</table>
</section>
<div style="clear:both;"></div>
<footer id="page_footer">
<?php include('inc/page_footer.php') ?>
</footer>
</div>
</body>
</html>