Browse files

Bulk commit;

  • Loading branch information...
1 parent d590280 commit 2ca25291e0586643cbdb6ec9355694c23cdc3590 @snktagarwal committed May 5, 2012
View
2 application/config/config.php
@@ -14,7 +14,7 @@
| path to your installation.
|
*/
-$config['base_url'] = 'http://10.102.43.64/';
+$config['base_url'] = 'http://localhost/';
/*
|--------------------------------------------------------------------------
View
2 application/config/config.php~
@@ -14,7 +14,7 @@
| path to your installation.
|
*/
-$config['base_url'] = 'http://localhost/';
+$config['base_url'] = 'http://http://10.102.43.64/';
/*
|--------------------------------------------------------------------------
View
7 application/controllers/activities.php~
@@ -4,17 +4,18 @@ class Activities extends CI_Controller {
public function __construct()
{
parent::__construct();
- //$this->load->model('news_model');
+ $this->load->model('event_model');
}
public function index()
{
- $data['title'] = 'Home Page';
+ $data['title'] = "Home Page";
+ $data['event_list'] = $this->event_model->get_events();
$this->load->helper('url');
$this->load->view('header', $data);
- $this->load->view('contacts', $data);
+ $this->load->view('activities', $data);
//$this->load->view('templates/footer');
}
}
View
2 application/controllers/home.php
@@ -14,7 +14,7 @@ public function index()
//$data['news'] = array_splice($this->news_model->get_news(),1);
$data['news'] = $this->news_model->get_home_news();
$data['pub_list'] = array_splice($this->pub_model->get_latest_pub(),0,2);
- $data['event_list'] = $this->event_model->get_events();
+ $data['event_list'] = $this->event_model->get_home_events();
$data['title'] = 'Home Page';
View
4 application/controllers/home.php~
@@ -12,9 +12,9 @@ class Home extends CI_Controller {
public function index()
{
//$data['news'] = array_splice($this->news_model->get_news(),1);
- $data['news'] = $this->news_model->get_news();
+ $data['news'] = $this->news_model->get_home_news();
$data['pub_list'] = array_splice($this->pub_model->get_latest_pub(),0,2);
- $data['event_list'] = $this->event_model->get_events();
+ $data['event_list'] = $this->event_model->get_home_events();
$data['title'] = 'Home Page';
View
25 application/models/event_model.php
@@ -10,11 +10,32 @@ public function get_events()
{
$this->db->select('*');
- $this->db->order_by('when,time', 'desc');
+ $this->db->order_by('when', 'desc');
$query = $this->db->get('events');
return $query->result_array();
- }
+ }
+
+ public function get_home_events($base_size = 5){
+
+ /* Select those events which have home tag ticked on */
+ /* We assume that we require 5 events in total, hence pick rest from latest-events */
+
+ $this->db->from('events');
+ $this->db->order_by('when','desc');
+ $this->db->where('choose_home','YES');
+ $events_major = array_splice($this->db->get()->result_array(),0,4);
+ $rem = $base_size - sizeof($events_major);
+ if($rem > 0){
+ $this->db->from('events');
+ $this->db->where('choose_home','NO');
+ $this->db->order_by('when','desc');
+ $events_latest = array_splice($this->db->get()->result_array(),0,$rem);
+ $events_major = array_merge($events_major, $events_latest);
+ }
+ return $events_major;
+ }
+
}
?>
View
25 application/models/event_model.php~
@@ -10,11 +10,32 @@ class Event_model extends CI_Model {
{
$this->db->select('*');
- $this->db->order_by('date,time', 'desc');
+ $this->db->order_by('when', 'desc');
$query = $this->db->get('events');
return $query->result_array();
- }
+ }
+
+ public function get_home_events($base_size = 5){
+
+ /* Select those events which have home tag ticked on */
+ /* We assume that we require 5 events in total, hence pick rest from latest-events */
+
+ $this->db->from('events');
+ $this->db->order_by('when','desc');
+ $this->db->where('choose_home','YES');
+ $events_major = array_splice($this->db->get()->result_array(),0,4);
+ $rem = $base_size - sizeof($events_major);
+ if($rem > 0){
+ $this->db->from('events');
+ $this->db->where('choose_home','NO');
+ $this->db->order_by('when','desc');
+ $events_latest = array_splice($this->db->get()->result_array(),0,$rem);
+ $events_major = array_merge($events_major, $events_latest);
+ }
+ return $events_major;
+ }
+
}
?>
View
12 application/models/news_model.php
@@ -6,27 +6,25 @@ public function __construct()
$this->load->database();
}
- public function get_news($slug = FALSE)
+ public function get_news()
{
- if ($slug === FALSE)
- {
+ $this->db->order_by('date','desc');
$query = $this->db->get('news');
return $query->result_array();
- }
-
- $query = $this->db->get_where('news', array('slug' => $slug));
- return $query->row_array();
}
+
public function get_home_news($base_size = 5){
/* Select those news which have home tag ticked on */
/* We assume that we require 5 news in total, hence pick rest from latest-news */
$this->db->from('news');
+ $this->db->order_by('date','desc');
$this->db->where('choose_home','YES');
$news_major = array_splice($this->db->get()->result_array(),0,4);
$rem = $base_size - sizeof($news_major);
if($rem > 0){
$this->db->from('news');
$this->db->where('choose_home','NO');
+ $this->db->order_by('date','desc');
$news_latest = array_splice($this->db->get()->result_array(),0,$rem);
$news_major = array_merge($news_major, $news_latest);
}
View
14 application/models/news_model.php~
@@ -6,29 +6,27 @@ class News_model extends CI_Model {
$this->load->database();
}
- public function get_news($slug = FALSE)
+ public function get_news()
{
- if ($slug === FALSE)
- {
+ $this->db->order_by('date','desc');
$query = $this->db->get('news');
return $query->result_array();
- }
-
- $query = $this->db->get_where('news', array('slug' => $slug));
- return $query->row_array();
}
+
public function get_home_news($base_size = 5){
/* Select those news which have home tag ticked on */
/* We assume that we require 5 news in total, hence pick rest from latest-news */
$this->db->from('news');
+ $this->db->order_by('date','desc');
$this->db->where('choose_home','YES');
$news_major = array_splice($this->db->get()->result_array(),0,4);
$rem = $base_size - sizeof($news_major);
if($rem > 0){
$this->db->from('news');
$this->db->where('choose_home','NO');
+ $this->db->order_by('when','desc');
$news_latest = array_splice($this->db->get()->result_array(),0,$rem);
- //$news_major = array.concat($news_major, $news_latest);
+ $news_major = array_merge($news_major, $news_latest);
}
return $news_major;
}
View
9 application/views/about.php~
@@ -23,15 +23,6 @@
<div style="height: 20px; overflow: hidden; width: 100%;"></div></div>
-<div ><div class="wsite-multicol"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:32.64611011236%;padding:0 5px'><div ><div style="text-align: center;"><a><img src="/uploads/6/7/8/7/6787877/_1305133475.jpg" style="margin-top: 10px; margin-bottom: 10px; margin-left: 0; margin-right: 0; border-width:1px;padding:3px;" alt="Picture" class="galleryImageBorderBlack" /></a><div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;">Conversation in online social networks</div></div></div>
-
-</td><td class='wsite-multicol-col' style='width:66.353975280899%;padding:0 5px'><div ><div class="wsite-multicol"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:49.5%;padding:0 5px'><div ><div style="text-align: center;"><a><img src="/uploads/6/7/8/7/6787877/_2090773.jpg" style="margin-top: 10px; margin-bottom: 10px; margin-left: 10px; margin-right: 10px; border-width:1px;padding:3px;" alt="Picture" class="galleryImageBorderBlack" /></a><div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;">EpiC: A Computational Infrastructure for Epidemics Research</div></div></div>
-
-</td><td class='wsite-multicol-col' style='width:49.5%;padding:0 5px'><div ><div style="text-align: center;"><a><img src="/uploads/6/7/8/7/6787877/_3753829.jpg?230" style="margin-top: 10px; margin-bottom: 10px; margin-left: 0; margin-right: 0; border-width:1px;padding:3px;" alt="Picture" class="galleryImageBorderBlack" /></a><div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;">Global Epidemic and mobility model</div></div></div>
-
-</td></tr></tbody></table></div></div></div></div>
-
-</td></tr></tbody></table></div></div></div></div>
</div>
</div>
View
7 application/views/activities.php
@@ -43,6 +43,8 @@
</table>
</div>
+
+
<div id="content">
<div id="wsite-content" class="wsite-not-footer">
<div class="wsite-not-footer">
@@ -54,9 +56,8 @@
<div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;"></div></div></div>
</td><td class="wsite-multicol-col" style="padding:0 15px">
-
-<div><a>
-<img src='<?php echo base_url()."/cnerg/images/talks.jpg"?>' style="margin-top: 10px; margin-bottom: 10px; margin-left: 0; margin-right: 0; padding:6px;width:100%;height:30px;" alt="Picture" class="galleryImageBorderBlack"></a><div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;"></div></div></div>
+<h3>Events and talks</h3>
+<br />
<div>
<?php foreach($event_list as $event): ?>
View
87 application/views/activities.php~
@@ -1,27 +1,50 @@
-
-
-
-
-
-
-<!--div id="content">
-<div id="wsite-content" class="wsite-not-footer">
-<div class="wsite-not-footer">
-<h2 style=" text-align: left; ">Activities</h2>
-
-<iframe src="https://www.google.com/calendar/embed?src=snktagarwal%40gmail.com&ctz=Asia/Calcutta" style="border: 0;" width="800" height="400" frameborder="0" scrolling="no"></iframe>
-
-<div><div style="height: 20px; overflow: hidden; width: 100%;"></div>
-<hr class="styled-hr" style="width:100%;">
-<div style="height: 20px; overflow: hidden; width: 100%;"></div></div>
-
-
-
-</div>
-</div>
-<div class="clear" style="padding-bottom: 30px"></div>
-</div-->
-
+<div id="navigation">
+ <table>
+ <tr>
+ <td width="72%">
+ <ul>
+ <li style="position: relative; ">
+ <a href="home" style="position: relative; ">Home</a>
+ </li>
+ <li id="pg873600280878711087" style="position: relative; ">
+ <a href="about" style="position: relative; ">About</a>
+ </li>
+ <li id="pg849208609319064705" style="position: relative; ">
+ <a href="projects" style="position: relative; ">Projects</a>
+ </li>
+ <li id="pg289405349604947483" style="position: relative; ">
+ <a href="publications1" style="position: relative; ">Publications</a>
+ </li>
+ <li id="pg604785984957670984" style="position: relative; ">
+ <a href="courses" style="position: relative; ">Courses</a>
+ </li>
+ <li id="pg513741096409430388" style="position: relative; ">
+ <a href="people" style="position: relative; ">People</a>
+ </li>
+ <li id="pg328664862367688996" style="position: relative; ">
+ <a href="news" style="position: relative; ">News</a>
+ </li>
+ <li id="active" style="position: relative; ">
+ <a href="activities" style="position: relative; ">Activities</a>
+ </li>
+ </ul>
+
+ </td>
+ <td width="17%">
+
+ <div class="fb-like" data-href="https://www.facebook.com/pages/CNeRG/122322841226800" data-send="true" data-layout="button_count" data-width="50" data-show-faces="true"></div>
+
+ </td>
+ <td width="11%">
+ <a href="https://twitter.com/CNeRGIITKgp" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">Follow @CNeRGIITKgp</a>
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+ </td>
+ </tr>
+
+ </table>
+ </div>
+
+
<div id="content">
<div id="wsite-content" class="wsite-not-footer">
<div class="wsite-not-footer">
@@ -33,12 +56,18 @@
<div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;"></div></div></div>
</td><td class="wsite-multicol-col" style="padding:0 15px">
-
-<div><a>
-<img src='<?php echo base_url()."/cnerg/images/latnews.jpg"?>' style="margin-top: 10px; margin-bottom: 10px; margin-left: 0; margin-right: 0; padding:6px;width:100%;height:30px;" alt="Picture" class="galleryImageBorderBlack"></a><div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;"></div></div></div>
+<h3>Events and talks</h3>
<div>
-<li>This is a test bullet 1 </li>
-<li>This is a test bullet 2 </li>
+ <?php foreach($event_list as $event): ?>
+
+ <h5><?php echo $event["name"]; ?></h5>
+ <div class="paragraph editable-text" style=" text-align: left; ">
+ <strong>Venue: </strong><?php echo $event["where"]; ?> <br />
+ <strong>Date: </strong><?php echo $event["time"].", ".$event["when"] ?> <br />
+ </div>
+
+ <?php endforeach ?> <!-- Event and talks list ends -->
+
</div>
</td></tr></tbody></table></div></div></div>
View
49 application/views/courses.php~
@@ -1,3 +1,50 @@
+
+<div id="navigation">
+ <table>
+ <tr>
+ <td width="72%">
+ <ul>
+ <li style="position: relative; ">
+ <a href="home" style="position: relative; ">Home</a>
+ </li>
+ <li id="pg873600280878711087" style="position: relative; ">
+ <a href="about" style="position: relative; ">About</a>
+ </li>
+ <li id="pg849208609319064705" style="position: relative; ">
+ <a href="projects" style="position: relative; ">Projects</a>
+ </li>
+ <li id="pg289405349604947483" style="position: relative; ">
+ <a href="publications1" style="position: relative; ">Publications</a>
+ </li>
+ <li id="pg604785984957670984" style="position: relative; ">
+ <a href="courses" style="position: relative; ">Courses</a>
+ </li>
+ <li id="pg513741096409430388" style="position: relative; ">
+ <a href="people" style="position: relative; ">People</a>
+ </li>
+ <li id="pg328664862367688996" style="position: relative; ">
+ <a href="news" style="position: relative; ">News</a>
+ </li>
+ <li id="pg667435914845654009" style="position: relative; ">
+ <a href="activities" style="position: relative; ">Activities</a>
+ </li>
+ </ul>
+
+ </td>
+ <td width="17%">
+
+ <div class="fb-like" data-href="https://www.facebook.com/pages/CNeRG/122322841226800" data-send="true" data-layout="button_count" data-width="50" data-show-faces="true"></div>
+
+ </td>
+ <td width="11%">
+ <a href="https://twitter.com/CNeRGIITKgp" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">Follow @CNeRGIITKgp</a>
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+ </td>
+ </tr>
+
+ </table>
+ </div>
+
<div id="content">
<div id='wsite-content' class='wsite-not-footer'>
<div class='wsite-not-footer'>
@@ -9,7 +56,7 @@
<h2 style = "padding-top:10px" ><b> <?php echo $course['name'] ?></b></h2>
<a href='<?php echo $course["faculty_page"]?>' style = "padding-top:10px" > <b>Faculty: </b><?php echo $course['faculty'] ?></a>
<p style="padding-top:20px;"><?php echo $course['description'] ?></p>
-<p style = "padding-top:10px" > <b>Course page: </b><?php echo $course['course_page'] ?></p>
+<p style = "padding-top:10px" > <b>Course page: </b><a href='<?php echo $course["course_page"] ?>' ><?php echo $course['course_page'] ?></a></p>
<br />
</div>
View
29 application/views/header.php~
@@ -59,6 +59,14 @@ if (Prototype.Browser.IE) window.onload=initFlyouts; else document.observe('dom:
</script>
</head>
<body class="wsite-theme-light wsite-page-index">
+<div id="fb-root"></div>
+<script>(function(d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0];
+ if (d.getElementById(id)) return;
+ js = d.createElement(s); js.id = id;
+ js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
+ fjs.parentNode.insertBefore(js, fjs);
+}(document, 'script', 'facebook-jssdk'));</script>
<div id="wrapper">
<div id="wrappertop">
<div id="wrappertbtm">
@@ -79,6 +87,9 @@ if (Prototype.Browser.IE) window.onload=initFlyouts; else document.observe('dom:
<h2 align="center" > CSE, Indian Institute of technology, Kharagpur </h2>
</div>
<div id="navigation">
+ <table>
+ <tr>
+ <td width="72%">
<ul>
<li id="active" style="position: relative; ">
<a href="home" style="position: relative; ">Home</a>
@@ -93,7 +104,7 @@ if (Prototype.Browser.IE) window.onload=initFlyouts; else document.observe('dom:
<a href="publications1" style="position: relative; ">Publications</a>
</li>
<li id="pg604785984957670984" style="position: relative; ">
- <a href="courses" style="position: relative; ">Media</a>
+ <a href="courses" style="position: relative; ">Courses</a>
</li>
<li id="pg513741096409430388" style="position: relative; ">
<a href="people" style="position: relative; ">People</a>
@@ -105,4 +116,18 @@ if (Prototype.Browser.IE) window.onload=initFlyouts; else document.observe('dom:
<a href="activities" style="position: relative; ">Activities</a>
</li>
</ul>
- </div>
+
+ </td>
+ <td width="17%">
+
+ <div class="fb-like" data-href="https://www.facebook.com/pages/CNeRG/122322841226800" data-send="true" data-layout="button_count" data-width="50" data-show-faces="true"></div>
+
+ </td>
+ <td width="11%">
+ <a href="https://twitter.com/CNeRGIITKgp" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">Follow @CNeRGIITKgp</a>
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+ </td>
+ </tr>
+
+ </table>
+ </div>
View
12 application/views/home.php
@@ -53,12 +53,12 @@
<table id="left-table" class=".wsite-multicol-table" style="vertical-align: top;"> <!-- left side of contents -->
<tr id="about">
- <h4>About CNeRG</h4> <!-- Fill in the details of what CNeRG is all about! -->
+ <h3>About CNeRG</h3> <!-- Fill in the details of what CNeRG is all about! -->
Here goes a description about what CNeRG is and how it functions et al. <br /><br />
</tr>
<tr id="events"> <!-- Event and talks list -->
- <h4>Events and talks</h4>
+ <h3>Events and talks</h3>
<br />
<?php foreach($event_list as $event): ?>
@@ -70,25 +70,29 @@
<?php endforeach ?> <!-- Event and talks list ends -->
</tr>
+ <div style="padding-bottom: 50px;">
+ <a href='<?php echo base_url()."cnerg/index.php/activities" ?>'> All activities ... </a>
+ </div>
</table> <!-- left side of contents end -->
</td> <!-- left side td ends -->
<td id="right" width="40%"> <!-- right side td -->
<!-- contents of the right side -- majorly news items -->
+ <h4>Latest news </h4>
<table id="right-table" class=".wiste-multicol-table">
<?php foreach($news as $news_item): ?>
- <h3><b> <?php echo $news_item['title']; ?> </b></h3>
+ <h5> <?php echo $news_item['title']; ?> </h5>
<div class="paragraph editable-text" style=" text-align: left; ">
<?php echo $news_item['text']; ?>
</div>
<?php endforeach ?>
</table>
- <a href='<?php echo base_url()."cnerg/index.php/news" ?>'> All news </a>
+ <a href='<?php echo base_url()."cnerg/index.php/news" ?>'> All news ... </a>
</td> <!-- right side td ends -->
</tr>
View
217 application/views/home.php~
@@ -1,114 +1,103 @@
-<div id="content">
- <div id="wsite-content" class="wsite-not-footer">
-<div class="wsite-multicol"><div style="padding-right:1.2%"><div class="wsite-multicol-table-wrap" style="margin:0 -5px"><table class="wsite-multicol-table"><tbody class="wsite-multicol-tbody"><tr class="wsite-multicol-tr">
-
-<td class="wsite-multicol-col" style="width:60.904457303371%;padding:0 5px"><div style="text-align: left;"><a><img src="/cnerg//images/latnews.jpg" style="margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 10px; border-width:0;" alt="Picture" class="galleryImageBorder"></a><div style="display: block; font-size: 90%; margin-top: -0; margin-bottom: 0;"></div></div>
-
-<table style="border: 0; width: 100%; table-layout: fixed"><tbody><tr><td valign="top">
-
-<table style='border: 0; width: 100%; table-layout: fixed'><tr><td valign='top'>
-
-<div class='blog-body' style='float: left;'>
-<?php foreach($news as $news_item): ?>
-
-
-<div class="wsite-multicol"><div style="padding-right:1.2%"><div class="wsite-multicol-table-wrap" style="margin:0 -5px"><table class="wsite-multicol-table"><tbody class="wsite-multicol-tbody"><tr class="wsite-multicol-tr"><td class="wsite-multicol-col" style="width:100%;padding:0 5px"><div><div class="wsite-multicol"><div style="padding-right:1.2%"><div class="wsite-multicol-table-wrap" style="margin:0 -5px"><table class="wsite-multicol-table"><tbody class="wsite-multicol-tbody"><tr class="wsite-multicol-tr"><td class="wsite-multicol-col" style="vertical-align:middle; width:15.5%;padding:0 5px"><div><div style="">
-<a><img src='<?php echo $news_item["img"]; ?>' style="margin-top: 10px; margin-bottom: 10px; margin-left: 0; margin-right: 0; border-width:1px;padding:6px;width:50px; height:50px" alt="Picture" class="galleryImageBorderBlack"></a>
-
-<div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;"></div></div></div>
-
-</td><td class="wsite-multicol-col" style="padding:0 5px">
-
-<div class="paragraph editable-text" style=" text-align: left; ">
-<h2><b> <?php echo $news_item['title']; ?> </b></h2>
-<div class="paragraph editable-text" style=" text-align: left; display: block; "> Text: <?php echo $news_item['text']; ?> </div>
-</div>
-
-<div class='blog-social'><div class='blog-social-item'><a class='twitter-share-button' href='http://twitter.com/share?url=http%3A%2F%2Fwww.mobs-lab.org%2F1%2Fpost%2F2012%2F01%2Fnature-physics-insight-complexity.html' data-count='horizontal'></a></div><div class='blog-social-item blog-fb-like'><fb:like href='http://www.mobs-lab.org/1/post/2012/01/nature-physics-insight-complexity.html' show_faces='false' layout='button_count' width='90'></fb:like></div><div style='clear:both'></div></div>
-
-</td></tr></tbody></table></div></div></div></div>
-
-</td><td class="wsite-multicol-col" style="padding:0 5px"><div><div class="wsite-multicol"><div style="padding-right:1.2%"><div class="wsite-multicol-table-wrap" style="margin:0 -5px"><table class="wsite-multicol-table"><tbody class="wsite-multicol-tbody"><tr class="wsite-multicol-tr"><td class="wsite-multicol-col" style="width:49.5%;padding:0 5px"></td><td class="wsite-multicol-col" style="width:49.5%;padding:0 5px"></td></tr></tbody></table></div></div></div></div>
-
-</td></tr></tbody></table></div></div></div>
-
-<?php endforeach ?>
-
-<div class="paragraph editable-text" style=" padding-bottom: 60px; text-align: left; "><font size="4" color="#990000"><a href="news">All news.....</a></font></div>
-
-
-<div style="text-align: left;"><a><img src="/cnerg//images/latpubs.jpg" style="margin-top: 0; margin-bottom: 0; margin-left: 0; margin-right: 10px; border-width:0;" alt="Picture" class="galleryImageBorder"></a><div style="display: block; font-size: 90%; margin-top: -0; margin-bottom: 0;"></div></div>
-
-<?php foreach($pub_list as $pub_e): ?>
-
-<div class="paragraph editable-text" style=" text-align: left; ">
-
-<strong><?php echo $pub_e['name'] ?></strong>
-
-<ul style="list-style-type: disc !important; list-style-position: outside !important; list-style-image: initial !important; overflow-x: hidden; overflow-y: hidden; ">
-<li>
-<i><?php echo $pub_e['authors'] ?></i>
-</li>
-</ul>
-
-<?php endforeach ?>
-
-
-</div>
-</td>
-
-
-</tr></table>
-
-
-
-</td>
-
-
-</tr></tbody></table>
-
-
-<div class="paragraph editable-text" style=" padding-bottom: 60px; text-align: left; "><font size="4" color="#990000"><a href="publications1">All publications.....</a></font></div>
-
-</td><td class="wsite-multicol-col" style="width:38.095468539326%;padding:0 5px"><div><div style="text-align: left;">
-
-<a><img src="/cnerg/images/spot.jpg" style="margin-top: 0; margin-bottom: 0; margin-left: 0; border-width:0;" alt="Picture" class="galleryImageBorder"></a><div style="display: block; font-size: 90%; margin-top: -0; margin-bottom: 0;"></div></div></div>
-
-<div><div style="height:10px;overflow:hidden"></div>
-
-
-
-<div id="gallery" style="padding-top: 30px;" align="center">
- <img src="http://cse.iitkgp.ac.in/resgrp/cnerg/Files/photos/CNeRG%20Pics/kolkata_treat_4.jpg">
- <img src="http://cse.iitkgp.ac.in/resgrp/cnerg/Files/photos/CNeRG%20Pics/cnerg_7.jpg">
- <img src="http://cse.iitkgp.ac.in/resgrp/cnerg/Files/photos/CNeRG%20Pics/kolkata_treat_2.jpg">
-</div>
- <script>
- Galleria.loadTheme('/cnerg/galleria/themes/classic/galleria.classic.min.js');
- $("#gallery").galleria({
- width: 310,
- height: 250
- });
- </script>
-
-<div style="height:30px;overflow:hidden"></div></div>
-
-<a><img src="/cnerg/images/event.jpg" style="margin-top: 0; margin-bottom: 0; margin-left: 0; border-width:0;" alt="Picture" class="galleryImageBorder"></a>
-
-<?php foreach($event_list as $event): ?>
-
-<div class="paragraph editable-text" style=" text-align: left; ">
-<strong><?php echo $event["name"]; ?></strong>
-</div>
-
-<?php endforeach ?>
-<div class="paragraph editable-text" style=" padding-bottom: 60px; text-align: left; "><font size="4" color="#990000"><a href="news">All activities.....</a></font></div>
-
-
-</td></tr></tbody></table></div></div>
-
-</div>
-</div>
-
-<div class="clear"></div>
-</div>
+<div id="navigation">
+ <table>
+ <tr>
+ <td width="72%">
+ <ul>
+ <li id="active" style="position: relative; ">
+ <a href="home" style="position: relative; ">Home</a>
+ </li>
+ <li id="pg873600280878711087" style="position: relative; ">
+ <a href="about" style="position: relative; ">About</a>
+ </li>
+ <li id="pg849208609319064705" style="position: relative; ">
+ <a href="projects" style="position: relative; ">Projects</a>
+ </li>
+ <li id="pg289405349604947483" style="position: relative; ">
+ <a href="publications1" style="position: relative; ">Publications</a>
+ </li>
+ <li id="pg604785984957670984" style="position: relative; ">
+ <a href="courses" style="position: relative; ">Courses</a>
+ </li>
+ <li id="pg513741096409430388" style="position: relative; ">
+ <a href="people" style="position: relative; ">People</a>
+ </li>
+ <li id="pg328664862367688996" style="position: relative; ">
+ <a href="news" style="position: relative; ">News</a>
+ </li>
+ <li id="pg667435914845654009" style="position: relative; ">
+ <a href="activities" style="position: relative; ">Activities</a>
+ </li>
+ </ul>
+
+ </td>
+ <td width="17%">
+
+ <div class="fb-like" data-href="https://www.facebook.com/pages/CNeRG/122322841226800" data-send="true" data-layout="button_count" data-width="50" data-show-faces="true"></div>
+
+ </td>
+ <td width="11%">
+ <a href="https://twitter.com/CNeRGIITKgp" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">Follow @CNeRGIITKgp</a>
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+ </td>
+ </tr>
+
+ </table>
+ </div>
+<div id="content"> <!-- Main content section -->
+
+<table id="content-table" class=".wsite-multicol-table"> <!-- Main content table -->
+ <tbody style="vertical-align: top;">
+ <tr> <!-- spans the entire area, to be splitted into columns -->
+ <td id="left" width="60%">
+ <!-- Contents of the left side -- About followed by events and talks -->
+ <table id="left-table" class=".wsite-multicol-table" style="vertical-align: top;"> <!-- left side of contents -->
+
+ <tr id="about">
+ <h3>About CNeRG</h3> <!-- Fill in the details of what CNeRG is all about! -->
+ Here goes a description about what CNeRG is and how it functions et al. <br /><br />
+ </tr>
+
+ <tr id="events"> <!-- Event and talks list -->
+ <h3>Events and talks</h3>
+ <br />
+ <?php foreach($event_list as $event): ?>
+
+ <h5><?php echo $event["name"]; ?></h5>
+ <div class="paragraph editable-text" style=" text-align: left; ">
+ <strong>Venue: </strong><?php echo $event["where"]; ?> <br />
+ <strong>Date: </strong><?php echo $event["time"].", ".$event["when"] ?> <br />
+ </div>
+
+ <?php endforeach ?> <!-- Event and talks list ends -->
+ </tr>
+ <div style="padding-bottom: 50px;">
+ <a href='<?php echo base_url()."cnerg/index.php/activities" ?>'> All activities ... </a>
+ </div>
+
+ </table> <!-- left side of contents end -->
+
+ </td> <!-- left side td ends -->
+
+ <td id="right" width="40%"> <!-- right side td -->
+ <!-- contents of the right side -- majorly news items -->
+ <h4>Latest news </h4>
+ <table id="right-table" class=".wiste-multicol-table">
+ <?php foreach($news as $news_item): ?>
+
+ <h5> <?php echo $news_item['title']; ?> </h5>
+ <div class="paragraph editable-text" style=" text-align: left; ">
+ <?php echo $news_item['text']; ?>
+ </div>
+
+ <?php endforeach ?>
+
+ </table>
+ <a href='<?php echo base_url()."cnerg/index.php/news" ?>'> All news ... </a>
+ </td> <!-- right side td ends -->
+
+ </tr>
+ </tbody>
+</table> <!-- Main content table ends -->
+
+
+</div> <!-- End content section -->
View
10 application/views/news.php
@@ -59,12 +59,12 @@
</td><td class="wsite-multicol-col" style="padding:0 5px">
-<div class="paragraph editable-text" style=" text-align: left; ">
-<h2><b> <?php echo $news_item['title']; ?> </b></h2>
-<div class="paragraph editable-text" style=" text-align: left; display: block; "> Text: <?php echo $news_item['text']; ?> </div>
-</div>
+ <div class="paragraph editable-text" style=" text-align: left; ">
+ <h2><b> <?php echo $news_item['title']; ?> </b></h2>
+ <div class="paragraph editable-text"> <i>Date: <?php echo $news_item['date']; ?> </i></div>
+ <div class="paragraph editable-text" style=" text-align: left; display: block; "> <?php echo $news_item['text']; ?> </div>
+ </div>
-<div class='blog-social'><div class='blog-social-item'><a class='twitter-share-button' href='http://twitter.com/share?url=http%3A%2F%2Fwww.mobs-lab.org%2F1%2Fpost%2F2012%2F01%2Fnature-physics-insight-complexity.html' data-count='horizontal'></a></div><div class='blog-social-item blog-fb-like'><fb:like href='http://www.mobs-lab.org/1/post/2012/01/nature-physics-insight-complexity.html' show_faces='false' layout='button_count' width='90'></fb:like></div><div style='clear:both'></div></div>
</td></tr></tbody></table></div></div></div></div>
View
58 application/views/news.php~
@@ -1,8 +1,54 @@
+<div id="navigation">
+ <table>
+ <tr>
+ <td width="72%">
+ <ul>
+ <li style="position: relative; ">
+ <a href="home" style="position: relative; ">Home</a>
+ </li>
+ <li id="pg873600280878711087" style="position: relative; ">
+ <a href="about" style="position: relative; ">About</a>
+ </li>
+ <li id="pg849208609319064705" style="position: relative; ">
+ <a href="projects" style="position: relative; ">Projects</a>
+ </li>
+ <li id="pg289405349604947483" style="position: relative; ">
+ <a href="publications1" style="position: relative; ">Publications</a>
+ </li>
+ <li id="pg604785984957670984" style="position: relative; ">
+ <a href="courses" style="position: relative; ">Courses</a>
+ </li>
+ <li id="pg513741096409430388" style="position: relative; ">
+ <a href="people" style="position: relative; ">People</a>
+ </li>
+ <li id="active" style="position: relative; ">
+ <a href="news" style="position: relative; ">News</a>
+ </li>
+ <li id="pg667435914845654009" style="position: relative; ">
+ <a href="activities" style="position: relative; ">Activities</a>
+ </li>
+ </ul>
+
+ </td>
+ <td width="17%">
+
+ <div class="fb-like" data-href="https://www.facebook.com/pages/CNeRG/122322841226800" data-send="true" data-layout="button_count" data-width="50" data-show-faces="true"></div>
+
+ </td>
+ <td width="11%">
+ <a href="https://twitter.com/CNeRGIITKgp" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">Follow @CNeRGIITKgp</a>
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+ </td>
+ </tr>
+
+ </table>
+ </div>
+
<div id="content">
<div id='wsite-content' class='wsite-not-footer'>
<table style='border: 0; width: 100%; table-layout: fixed'><tr><td valign='top'>
-<div id='328664862367688996-blog' class='blog-body' style='float: left;'>
+<div class='blog-body' style='float: left;'>
<?php foreach($news as $news_item): ?>
@@ -13,12 +59,12 @@
</td><td class="wsite-multicol-col" style="padding:0 5px">
-<div class="paragraph editable-text" style=" text-align: left; ">
-<h2><b> <?php echo $news_item['title']; ?> </b></h2>
-<div class="paragraph editable-text" style=" text-align: left; display: block; "> Text: <?php echo $news_item['text']; ?> </div>
-</div>
+ <div class="paragraph editable-text" style=" text-align: left; ">
+ <h2><b> <?php echo $news_item['title']; ?> </b></h2>
+ <div class="paragraph editable-text"> <i>Date: </i><?php echo $news_item['date']; ?> </div>
+ <div class="paragraph editable-text" style=" text-align: left; display: block; "> <?php echo $news_item['text']; ?> </div>
+ </div>
-<div class='blog-social'><div class='blog-social-item'><a class='twitter-share-button' href='http://twitter.com/share?url=http%3A%2F%2Fwww.mobs-lab.org%2F1%2Fpost%2F2012%2F01%2Fnature-physics-insight-complexity.html' data-count='horizontal'></a></div><div class='blog-social-item blog-fb-like'><fb:like href='http://www.mobs-lab.org/1/post/2012/01/nature-physics-insight-complexity.html' show_faces='false' layout='button_count' width='90'></fb:like></div><div style='clear:both'></div></div>
</td></tr></tbody></table></div></div></div></div>
View
111 application/views/people.php~
@@ -1,3 +1,50 @@
+
+<div id="navigation">
+ <table>
+ <tr>
+ <td width="72%">
+ <ul>
+ <li style="position: relative; ">
+ <a href="home" style="position: relative; ">Home</a>
+ </li>
+ <li id="pg873600280878711087" style="position: relative; ">
+ <a href="about" style="position: relative; ">About</a>
+ </li>
+ <li id="pg849208609319064705" style="position: relative; ">
+ <a href="projects" style="position: relative; ">Projects</a>
+ </li>
+ <li id="pg289405349604947483" style="position: relative; ">
+ <a href="publications1" style="position: relative; ">Publications</a>
+ </li>
+ <li id="pg604785984957670984" style="position: relative; ">
+ <a href="courses" style="position: relative; ">Courses</a>
+ </li>
+ <li id="pg513741096409430388" style="position: relative; ">
+ <a href="people" style="position: relative; ">People</a>
+ </li>
+ <li id="pg328664862367688996" style="position: relative; ">
+ <a href="news" style="position: relative; ">News</a>
+ </li>
+ <li id="pg667435914845654009" style="position: relative; ">
+ <a href="activities" style="position: relative; ">Activities</a>
+ </li>
+ </ul>
+
+ </td>
+ <td width="17%">
+
+ <div class="fb-like" data-href="https://www.facebook.com/pages/CNeRG/122322841226800" data-send="true" data-layout="button_count" data-width="50" data-show-faces="true"></div>
+
+ </td>
+ <td width="11%">
+ <a href="https://twitter.com/CNeRGIITKgp" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">Follow @CNeRGIITKgp</a>
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+ </td>
+ </tr>
+
+ </table>
+ </div>
+
<div id="content">
<div id='wsite-content' class='wsite-not-footer'>
<div class='wsite-not-footer'>
@@ -15,12 +62,27 @@
<?php foreach($people['PROF'] as $prof): ?>
-<div><div class="wsite-multicol"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:59.5%;padding:0 5px'><div ><div class="wsite-multicol"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:49.5%;padding:0 5px'><div ><div style="text-align: center;"><a><img src='<?php echo $prof["img"]?>' style="margin-top: 10px; margin-bottom: 10px; margin-left: 0; margin-right: 0; border-width:1px;padding:6px;width:100px; height:100px" alt="Picture" class="galleryImageBorderBlack" /></a><div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;"></div></div></div>
+<div><div class="wsite-multicol"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:59.5%;padding:0 5px'><div ><div class="wsite-multicol"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:49.5%;padding:0 5px'>
-</td><td class='wsite-multicol-col' style='padding:0 5px'><div class="paragraph editable-text" style=" text-align: left; "><font color="#000000" size="3"><strong style="">
-<br /><a href='<?php echo $prof["url"] ?>'><?php echo $prof['name'] ?></a></strong><br />
-<br /><?php echo $prof['department'] ?>
-<br /><?php echo $prof['college'] ?>
+<div style="text-align: center;">
+<a><img src='<?php echo $prof["img"]?>' style="margin-top: 10px; margin-bottom: 10px; margin-left: 0; margin-right: 0; border-width:1px;padding:6px;width:100px; height:100px" alt="Picture" class="galleryImageBorderBlack" /></a>
+</div>
+
+</td><td class='wsite-multicol-col' style='padding:0 5px'><div class="paragraph editable-text" style=" text-align: left; ">
+
+<font color="#000000" size="3">
+
+ <strong><br />
+ <a href='<?php echo $prof["url"] ?>'>
+ <?php echo $prof['name'] ?>
+ </a>
+ </strong><br />
+
+ <p>
+ <?php echo $prof['email'] ?> <br /><br />
+ <?php echo $prof['res_area'] ?> <br />
+ </p>
+
</font><br /><br /></div>
@@ -36,12 +98,17 @@
<?php foreach($people['PHD'] as $prof): ?>
-<div><div class="wsite-multicol"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:59.5%;padding:0 5px'><div ><div class="wsite-multicol"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:49.5%;padding:0 5px'><div ><div style="text-align: center;"><a><img src='<?php echo $prof["img"]?>' style="margin-top: 10px; margin-bottom: 10px; margin-left: 0; margin-right: 0; border-width:1px;padding:6px;width:100px; height:100px" alt="Picture" class="galleryImageBorderBlack" /></a><div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;"></div></div></div>
+<div><div class="wsite-multicol"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:59.5%;padding:0 5px'><div ><div class="wsite-multicol"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:49.5%;padding:0 5px'><div >
+<div style="text-align: center;"><a><img src='<?php echo $prof["img"]?>' style="margin-top: 10px; margin-bottom: 10px; margin-left: 0; margin-right: 0; border-width:1px;padding:6px;width:100px; height:100px" alt="Picture" class="galleryImageBorderBlack" /></a><div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;"></div>
+
+</td><td class='wsite-multicol-col' style='padding:0 5px'><div class="paragraph editable-text" style=" text-align: left; "><font color="#000000" size="3">
+
+ <strong style=""><br />
+ <a href='<?php echo $prof["url"] ?>'>
+ <?php echo $prof['name'] ?>
+ </a>
+ </strong><br />
-</td><td class='wsite-multicol-col' style='padding:0 5px'><div class="paragraph editable-text" style=" text-align: left; "><font color="#000000" size="3"><strong style="">
-<br /><a href='<?php echo $prof["url"] ?>'><?php echo $prof['name'] ?></a></strong><br />
-<br /><?php echo $prof['department'] ?>
-<br /><?php echo $prof['college'] ?>
</font><br /><br /></div>
</td></tr></tbody></table></div></div></div></div>
@@ -54,14 +121,15 @@
<h2 style=" text-align: left; "><font color="#000000">Master's</font></h2>
-<?php foreach($people['master'] as $prof): ?>
+<?php foreach($people['MTECH'] as $prof): ?>
-<div><div class="wsite-multicol"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:59.5%;padding:0 5px'><div ><div class="wsite-multicol"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:49.5%;padding:0 5px'><div ><div style="text-align: center;"><a><img src='<?php echo $prof["img"]?>' style="margin-top: 10px; margin-bottom: 10px; margin-left: 0; margin-right: 0; border-width:1px;padding:6px;width:100px; height:100px" alt="Picture" class="galleryImageBorderBlack" /></a><div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;"></div></div></div>
+<div><div class="wsite-multicol" style="padding-bottom: 40px;"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:59.5%;padding:0 5px'><div ><div class="wsite-multicol"><div style='padding-right:1.2%'><div class='wsite-multicol-table-wrap' style='margin:0 -5px'><table class='wsite-multicol-table'><tbody class='wsite-multicol-tbody'><tr class='wsite-multicol-tr'><td class='wsite-multicol-col' style='width:49.5%;padding:0 5px'><div >
+
+<div style="text-align: center;"><a><img src='<?php echo $prof["img"]?>' style="margin-top: 10px; margin-bottom: 10px; margin-left: 0; margin-right: 0; border-width:1px;padding:6px;width:100px; height:100px" alt="Picture" class="galleryImageBorderBlack" /></a><div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;"></div>
</td><td class='wsite-multicol-col' style='padding:0 5px'><div class="paragraph editable-text" style=" text-align: left; "><font color="#000000" size="3"><strong style="">
<br /><a href='<?php echo $prof["url"] ?>'><?php echo $prof['name'] ?></a></strong><br />
-<br /><?php echo $prof['department'] ?>
-<br /><?php echo $prof['college'] ?>
+
</font><br /><br /></div>
</td></tr></tbody></table></div></div></div></div>
@@ -76,22 +144,7 @@
<div class="clear"></div>
</div>
- <div id="footer">
-
-<script type='text/javascript'>
-<!--
-
-if (document.cookie.match(/(^|;)\s*is_mobile=1/)) {
- document.write(
- "&nbsp;&nbsp;&nbsp;&nbsp;" +
- "<a href='?mobile'>Mobile Site</a>"
- );
-}
-
-//-->
-</script>
- </div>
<div class="clear"></div>
</div>
</div>
View
20 application/views/projects.php~
@@ -3,9 +3,7 @@
<div class='wsite-not-footer'>
<?php foreach($projects as $project): ?>
-<div><div class="wsite-multicol"><div style="padding-right:1.2%"><div class="wsite-multicol-table-wrap" style="margin:0 -5px"><table class="wsite-multicol-table"><tbody class="wsite-multicol-tbody"><tr class="wsite-multicol-tr"><td class="wsite-multicol-col" style="width:100%;padding:0 5px"><div><div class="wsite-multicol"><div style="padding-right:1.2%"><div class="wsite-multicol-table-wrap" style="margin:0 -5px"><table class="wsite-multicol-table"><tbody class="wsite-multicol-tbody"><tr class="wsite-multicol-tr"><td class="wsite-multicol-col" style="width:49.5%;padding:0 5px"><div><div style="text-align: center;"><a><img src='<?php echo $project["img"] ?>' style="margin-top: 10px; margin-bottom: 10px; margin-left: 0; margin-right: 0; border-width:1px;padding:6px;width:150px; height:150px" alt="Picture" class="galleryImageBorderBlack"></a><div style="display: block; font-size: 90%; margin-top: -10px; margin-bottom: 10px;"></div></div></div>
-
-</td><td class="wsite-multicol-col" style="padding:0 5px"><div class="paragraph editable-text" style=" text-align: left; ">
+<div><div class="wsite-multicol" style="padding-bottom: 40px"><div style="padding-right:1.2%"><div class="wsite-multicol-table-wrap" style="margin:0 -5px"><table class="wsite-multicol-table"><tbody class="wsite-multicol-tbody"><tr class="wsite-multicol-tr"><td class="wsite-multicol-col" style="width:100%;padding:0 5px"><div><div class="wsite-multicol"><div style="padding-right:1.2%"><div class="wsite-multicol-table-wrap" style="margin:0 -5px"><table class="wsite-multicol-table"><tbody class="wsite-multicol-tbody"><tr class="wsite-multicol-tr"><td class="wsite-multicol-col" style="padding:0 5px"><div class="paragraph editable-text" style=" text-align: left; ">
<h2 style = "padding-top:10px" ><b> <?php echo $project['name'] ?></b></h2>
<p style = "padding-top:10px" > <b>Duration: </b><?php echo $project['duration'] ?></p>
<p style="padding-top:20px;"><?php echo $project['description'] ?></p>
@@ -23,22 +21,6 @@
<div class="clear"></div>
</div>
- <div id="footer">
-
-<script type='text/javascript'>
-<!--
-
-if (document.cookie.match(/(^|;)\s*is_mobile=1/)) {
- document.write(
- "&nbsp;&nbsp;&nbsp;&nbsp;" +
- "<a href='?mobile'>Mobile Site</a>"
- );
-}
-
-//-->
-</script>
-
- </div>
<div class="clear"></div>
</div>
</div>

0 comments on commit 2ca2529

Please sign in to comment.