Skip to content
Snippets Groups Projects
Commit c70153bf authored by Seth Meranda's avatar Seth Meranda
Browse files

reorganization of the images file strucutre for cleanliness. Also have begun...

reorganization of the images file strucutre for cleanliness. Also have begun UI on the header functionality for non-authenticated users.
parent 58cdd83a
Branches
No related tags found
No related merge requests found
Showing
with 41 additions and 66 deletions
......@@ -181,7 +181,7 @@
<div id="headline3">
<div class="splash_headline">
<h4>Huskers on the Air
<img src="mod/customindex/video.png" alt="video camera icon" style="float:right;padding-left:5px;" /></h4>
<img src="mod/customindex/views/default/customindex/images/video_thumbs/video.png" alt="video camera icon" style="float:right;padding-left:5px;" /></h4>
<p>
Check out all of the videos in the 'Put Yourself on the Map' campaign.
......@@ -233,23 +233,23 @@
<a class="prevPage browse left"></a>
<div id="promoVideoList0" class="scrollable">
<div class="items">
<a href="http://ucomm.unl.edu/av/video/pyotm/PutYourselfOnTheMap.mp4"><img src="mod/customindex/videoThumbPromo.jpg" alt="Promo Thumbnail" class="tooltip" title="Put Yourself on the Map Advertisement" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/JerryHudginsPYOTM.mp4"><img src="mod/customindex/videoThumbHudgins.jpg" alt="Jerry Hudgins Thumbnail" class="tooltip" title="Jerry Hudgins" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/MicrogravityU_PYOTM.mp4"><img src="mod/customindex/videoThumbMicrogravity.jpg" alt="Microgravity Thumbnail" class="tooltip" title="Microgravity" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/ZNETprojectPYOTM.mp4"><img src="mod/customindex/videoThumbZNet.jpg" alt="Zero Net Energy Thumbnail" class="tooltip" title="Zero Net Energy" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/EricaPetersonPYOTM.mp4"><img src="mod/customindex/videoThumbErica.jpg" alt="EricaThumbnail" class="tooltip" title="Erica Peterson" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/BetsyObrienPYOTM.mp4"><img src="mod/customindex/videoThumbBetsy.jpg" alt="Betsy Thumbnail" class="tooltip" title="Betsy O'Brien" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/Shane_Farritor_PYOTM.mp4"><img src="mod/customindex/videoThumbShane.jpg" alt="Shane Thumbnail" class="tooltip" title="Shane Farritor" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/Nithal_Kuwa_PYOTM.mp4"><img src="mod/customindex/videoThumbNithal.jpg" alt="Nithal Thumbnail" class="tooltip" title="Nithal Kuwa" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/JohnJanovyPYOTM.mp4"><img src="mod/customindex/videoThumbJohn.jpg" alt="John Thumbnail" class="tooltip" title="John Janovy" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/RulonGardnerPYOTM.mp4"><img src="mod/customindex/videoThumbRulan.jpg" alt="Rulon Thumbnail" class="tooltip" title="Rulon Gardner" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ScottKillinger.mp4"><img src="mod/customindex/videoThumbScottKillinger.jpg" alt="Scott Killinger Thumbnail" class="tooltip" title="Scott Killinger" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ClaudeBolton.mp4"><img src="mod/customindex/videoThumbClaudeBolton.jpg" alt="Claude Bolton Thumbnail" class="tooltip" title="Claude Bolton " /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ChinaArchitects.mp4"><img src="mod/customindex/videoThumbChinaArchitects.jpg" alt="China Architects Thumbnail" class="tooltip" title="China Architects " /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_JeffZeleny.mp4"><img src="mod/customindex/videoThumbJeffZeleny.jpg" alt="Jeff Zeleny Thumbnail" class="tooltip" title="Jeff Zeleny" /></a>
<!-- <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ChrisErvin.mp4"><img src="mod/customindex/videoThumbChrisErvin.jpg" alt="Chris Ervin Thumbnail" class="tooltip" title="Chris Ervin" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_GarrettHope.mp4"><img src="mod/customindex/videoThumbGarrettHope.jpg" alt="Garrett Hope Thumbnail" class="tooltip" title="Garrett Hope" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_PatrickCombs.mp4"><img src="mod/customindex/videoThumbPatrickCombs.jpg" alt="Patrick Combs Thumbnail" class="tooltip" title="Patrick Combs" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/PutYourselfOnTheMap.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbPromo.jpg" alt="Promo Thumbnail" class="tooltip" title="Put Yourself on the Map Advertisement" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/JerryHudginsPYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbHudgins.jpg" alt="Jerry Hudgins Thumbnail" class="tooltip" title="Jerry Hudgins" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/MicrogravityU_PYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbMicrogravity.jpg" alt="Microgravity Thumbnail" class="tooltip" title="Microgravity" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/ZNETprojectPYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbZNet.jpg" alt="Zero Net Energy Thumbnail" class="tooltip" title="Zero Net Energy" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/EricaPetersonPYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbErica.jpg" alt="EricaThumbnail" class="tooltip" title="Erica Peterson" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/BetsyObrienPYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbBetsy.jpg" alt="Betsy Thumbnail" class="tooltip" title="Betsy O'Brien" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/Shane_Farritor_PYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbShane.jpg" alt="Shane Thumbnail" class="tooltip" title="Shane Farritor" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/Nithal_Kuwa_PYOTM.mp4"><img src="mod/customindex/vviews/default/customindex/images/video_thumbs/ideoThumbNithal.jpg" alt="Nithal Thumbnail" class="tooltip" title="Nithal Kuwa" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/JohnJanovyPYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbJohn.jpg" alt="John Thumbnail" class="tooltip" title="John Janovy" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/RulonGardnerPYOTM.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbRulan.jpg" alt="Rulon Thumbnail" class="tooltip" title="Rulon Gardner" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ScottKillinger.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbScottKillinger.jpg" alt="Scott Killinger Thumbnail" class="tooltip" title="Scott Killinger" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ClaudeBolton.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbClaudeBolton.jpg" alt="Claude Bolton Thumbnail" class="tooltip" title="Claude Bolton " /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ChinaArchitects.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbChinaArchitects.jpg" alt="China Architects Thumbnail" class="tooltip" title="China Architects " /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_JeffZeleny.mp4"><img src="mod/customindex/vviews/default/customindex/images/video_thumbs/ideoThumbJeffZeleny.jpg" alt="Jeff Zeleny Thumbnail" class="tooltip" title="Jeff Zeleny" /></a>
<!-- <a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_ChrisErvin.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbChrisErvin.jpg" alt="Chris Ervin Thumbnail" class="tooltip" title="Chris Ervin" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_GarrettHope.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbGarrettHope.jpg" alt="Garrett Hope Thumbnail" class="tooltip" title="Garrett Hope" /></a>
<a href="http://ucomm.unl.edu/av/video/pyotm/PYOTM_PatrickCombs.mp4"><img src="mod/customindex/views/default/customindex/images/video_thumbs/videoThumbPatrickCombs.jpg" alt="Patrick Combs Thumbnail" class="tooltip" title="Patrick Combs" /></a>
-->
......@@ -267,7 +267,7 @@
quality: "best",
wmode: "transparent",
file: "http://ucomm.unl.edu/av/video/pyotm/PutYourselfOnTheMap.mp4",
image: "mod/customindex/videoStill.jpg",
image: "mod/customindex/views/default/customindex/images/video_thumbs/videoStill.jpg",
autostart: false,
skin: "http://www.unl.edu/ucomm/templatedependents/templatesharedcode/scripts/components/mediaplayer/UNLVideoSkin.swf"
}
......@@ -285,44 +285,8 @@
</div>
<!-- end moded splash code -->
<br style="clear:both" /><br />
<a name="login" href="#"></a>
<?php
if (!isloggedin()) {
?>
<div class="col left">
<div id="login-box">
<h2>Students, Faculty, Staff</h2>
<?php
$form_body = "<p class=\"login-box\"><span>Use your my.UNL account to begin.</span><br />";
$form_body .= elgg_view('input/submit', array('value' => elgg_echo('UNL Login'))) . "</p>";
$form_body .= "<p><a href=\"https://login.unl.edu/faq/account-resetpw.shtml\">" . elgg_echo('user:password:lost') . "</a></p>";
echo elgg_view('input/form', array('body' => $form_body, 'action' => "". $vars['url'] ."?loginwith=UNLlogin"));
?>
</div>
<div id="login-box">
<h2>Huskers Worldwide</h2>
<?php
$form_body = "<p class=\"login-box\"><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')) . "</label><br />";
$form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea')) . "</label><br />";
$form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . "</p>";
$form_body .= "<p><a href=\"". $vars['url'] ."account/register.php\">" . elgg_echo('register') . "</a> | <a href=\"". $vars['url'] ."account/forgotten_password.php\">" . elgg_echo('user:password:lost') . "</a></p>";
echo elgg_view('input/form', array('body' => $form_body, 'action' => "". $vars['url'] ."action/login"));
?>
</div>
</div>
<?php
}
?>
<div class="<?php if (isloggedin()) { echo('four');}else { echo('three');} ?>_col right">
<h2 id="indexheading">The Latest Happenings</h2>
<div class="four_col right clear" style="margin-top:25px;">
<h2 id="indexheading">The Latest Planet Red Happenings</h2>
<div class="col left">
<h3 class="sec_main">Featured Groups</h3>
<?php
......@@ -337,17 +301,14 @@
}
?>
</div>
<div class="<?php if (isloggedin()) { echo('two_');} ?>col middle">
<div class="two_col middle">
<h3 class="sec_main">Latest Wire Posts</h3>
<?php
mysql_connect($CONFIG->dbhost, $CONFIG->dbuser, $CONFIG->dbpass) or die(mysql_error());
mysql_select_db($CONFIG->dbname) or die(mysql_error());
//get the most recent wire posts
if (isloggedin())
$result = mysql_query("SELECT * from elggentities where type='object' and subtype=4 and site_guid = 1 order by time_created desc limit 0, 5") or die(mysql_error());
else
$result = mysql_query("SELECT * from elggentities where type='object' and subtype=4 and site_guid = 1 order by time_created desc limit 0, 3") or die(mysql_error());
$result = mysql_query("SELECT * from elggentities where type='object' and subtype=4 and site_guid = 1 order by time_created desc limit 0, 5") or die(mysql_error());
while($row = mysql_fetch_array( $result ))
{
//get the actual post
......@@ -362,11 +323,11 @@
if (!filtrado($row3['name'] . '' . $row2['description'])){
echo '<img style="clear:left;float:left" alt="Profile Icon" src="mod/profile/icondirect.php?username=' . $row3["username"] . '&amp;size=small" />';
echo '<div class="index_item" style="overflow:hidden;float:left;max-width:';
if (isloggedin()) {echo('400px;');}else{echo('162px;');}
echo '<div class="index_item" style="overflow:hidden;float:left;max-width:400px;';
//if (isloggedin()) {echo('400px;');}else{echo('162px;');}
echo 'border:1px solid #dbdbdb; margin-left:14px; min-height:45px; -moz-border-radius:3px;">';
echo ' <span style="background:url(mod/customindex/commentbubblepoint.png); width:14px; height:34px; z-index:2; position:absolute; left:';
if (isloggedin()) {echo('291px;');}else{echo('51px;');}
echo ' <span style="background:url(mod/customindex/commentbubblepoint.png); width:14px; height:34px; z-index:2; position:absolute; left:291px;';
//if (isloggedin()) {echo('291px;');}else{echo('51px;');}
echo '"></span>';
echo ' <div style="padding:10px;">';
......@@ -416,4 +377,18 @@
?>
<a href="featured/" title="See all the featured Huskers">See all the featured Huskers...</a>
</div>
<?php //This is the login details hidden with CSS and displayed in the colorbox.?>
<div class="hidden">
<div id="login-box">
<h2>Huskers Worldwide</h2>
<?php
$form_body = "<p class=\"login-box\"><label>" . elgg_echo('username') . "<br />" . elgg_view('input/text', array('internalname' => 'username', 'class' => 'login-textarea')) . "</label><br />";
$form_body .= "<label>" . elgg_echo('password') . "<br />" . elgg_view('input/password', array('internalname' => 'password', 'class' => 'login-textarea')) . "</label><br />";
$form_body .= elgg_view('input/submit', array('value' => elgg_echo('login'))) . "</p>";
$form_body .= "<p><a href=\"". $vars['url'] ."account/register.php\">" . elgg_echo('register') . "</a> | <a href=\"". $vars['url'] ."account/forgotten_password.php\">" . elgg_echo('user:password:lost') . "</a></p>";
echo elgg_view('input/form', array('body' => $form_body, 'action' => "". $vars['url'] ."action/login"));
?>
<a href="http://localhost/workspace/UNL_Elgg/elgg/?loginwith=UNLlogin">Sign on with CAS</a>.
</div>
</div>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment