-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathprofile.php
103 lines (95 loc) · 2.05 KB
/
profile.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
$prgindx=12348; //What is this?
include_once("includes/config.php");
$stdid=$loginfo->getUserId();
if(!$loginfo->isLoggedIn())
{
redirect("index.php");
}
$error="";
if(isset($_SESSION['prgerror']))
{
$error=$_SESSION['prgerror'];
unset($_SESSION['prgerror']);
}
?>
<?php include('includes/upper.php'); ?>
<!-- js or css here -->
<style>
.profile-section-title{
width:150px;
float:left;
}
.profile-section-content{
margin-left:150px;
}
.normal-bold{
font-size:1.4em;
font-weight:bold;
}
.profile-section-explanation>p{
font-size:1.4em;
}
.table-form{
width:670px;
}
.table-form td{
padding:15px 30px 15px 0px;
/*font-size:1.4em;*/
vertical-align:top;
}
.table-form td p, .table-form td button{
font-size:1em;
}
td.table-form-title{
font-weight:bold;
width:180px;
}
.form-not-set{
color:#959595;
font-style:italic;
}
div.udacity-date-picker select{
width:100px;
}
.table-form td .button {
font-size:0.85em;
}
.report-table {
width:670px;
margin-left:150px;
}
</style>
<script>
$(function() {
$( "#accordion" ).accordion({
autoHeight: false,
navigation: true
});
$("a.taketest").css("cursor","pointer")
.css("text-decoration","underline")
.click(function(){window.open("question.php?prgid="+$(this).attr("prgid"),"_self")})
$("a.viewporg").css("cursor","pointer")
.css("text-decoration","underline")
.click(function(){alert("Not Implemented")})
});
var JTable = function() {};
JTable.Setup = function() {
var table = $('.report-table');
$('caption', table).addClass('ui-state-default');
$('th', table).addClass('ui-state-default');
$('td', table).addClass('ui-widget-content');
//$(table).delegate('tr', 'hover', function() {
// $('td', $(this)).toggleClass('ui-state-hover');
//});
//$(table).delegate('tr', 'click', function() {
// $('td', $(this)).toggleClass('ui-state-highlight');
//});
};
$(function() {
JTable.Setup();
});
</script>
<?php include('includes/middle.php'); ?>
<?php include('includes/content_profile.php'); ?>
<?php include('includes/lower.php'); ?>