/
page-user.tpl.php
executable file
·96 lines (96 loc) · 3.88 KB
/
page-user.tpl.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:fb="http://www.facebook.com/2008/fbml" xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language ?>" lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
<head>
<!--page-user-->
<?php print $head ?>
<title><?php print $head_title ?></title>
<?php print $styles ?>
<?php print $scripts; ?>
<!--[if lt IE 8]>
<?php print phptemplate_get_ie_styles(); ?>
<![endif]-->
</head>
<body>
<div id="wrapper">
<img class="print-logo" src="<?php print template_path; ?>/images/logo.gif" alt="image description" />
<div id="header">
<?php print $top; ?>
<!-- <form class="form-search" method="get" accept-charset="UTF-8" action="/article_search">
<div>
<div class="container-inline" >
<div class="form-item">
<input id="edit-search-theme-form-1" type="text" class="form-text" title="Enter the terms you wish to search for." value="search MNI" size="15" name="keys" id="keys" maxlength="128" onclick="if (this.value=='search MNI') {this.value=''};"/>
</div>
<input type="submit" class="form-submit" value="Search" />
</div>
</div>
</form> -->
<h1 class="logo"><a href="<?php print check_plain($front_page); ?>"><?php print check_plain($site_name); ?></a></h1>
<div class="navbar-holder">
<div class="navbar">
<em class="todays-date"><?php print strtoupper(date('l, F j, Y')); ?></em>
<?php print $main_menu; ?>
</div>
</div>
<div class="top-bar">
<div class="box">
<?php
print $top_social_links;
//print $greeting_msg;
print mni_misc_functions_greeting_msg();
?>
</div>
<?php print $scrolling_ticker; ?>
<div id="drupal_msg"><?php if ($show_messages && $messages) : print $messages;
endif; ?></div>
</div>
</div>
<div id="main">
<?php if ($mission) : print '<div id="mission">'. $mission .'</div>';
endif; ?>
<?php if ($tabs) : print '<div id="tabs-wrapper">';
endif; ?>
<?php if ($tabs) : print '<ul class="tabs primary">'. $tabs .'</ul></div>';
endif; ?>
<?php if ($tabs2) : print '<ul class="tabs secondary">'. $tabs2 .'</ul>';
endif; ?>
<?php print $help; ?>
<?php if ($user->uid) : ?>
<?php $current_user = user_load($user->uid); ?>
<div class="personal-block">
<div class="main-heading">
<h2>Profile</h2>
</div>
<?php print $content; ?>
<div class="major-wrap">
<?php /*?><div class="product-block">
<div id="products_avail_user_pg">
<h3><?php
if(mni_misc_functions_is_user_a_subscriber()) {
echo('Additional ');
}
?>MNI Products Available</h3>
<div class="key-list2">
<?php print(mni_misc_functions_list_products_user_not_subscribed_to(4)); ?>
</div>
</div>
</div><?php */?>
</div>
</div>
<?php else : ?>
<?php print $content; ?>
<?php endif; ?>
<div id="footer">
<div class="major-wrap">
<div class="frame">
<?php print $footer; ?>
</div>
<div class="bottom-nav">
<?php print $footer_nav; ?>
</div>
</div>
</div>
</div>
<?php print $closure ?>
</body>
</html>