summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakshay90852023-03-21 12:59:23 +0530
committerakshay90852023-03-21 12:59:23 +0530
commita68db2ce9d8ff5063da9ebd97840834d786b61eb (patch)
treecbee6bb368f46107de98e6bea77441adfec53b2a
parentc4809518db13949d504d653e2f32179a88975d63 (diff)
downloadfossee-banners-1-a68db2ce9d8ff5063da9ebd97840834d786b61eb.tar.gz
fossee-banners-1-a68db2ce9d8ff5063da9ebd97840834d786b61eb.tar.bz2
fossee-banners-1-a68db2ce9d8ff5063da9ebd97840834d786b61eb.zip
new banner added
-rwxr-xr-xbanner.php26
1 files changed, 22 insertions, 4 deletions
diff --git a/banner.php b/banner.php
index 5a8eb30..e13fcf5 100755
--- a/banner.php
+++ b/banner.php
@@ -1,16 +1,34 @@
<?php
$today = date("Y-m-d H:i:s");
$p_date = "2023-04-15 23:59:59.0";
-if($today<$p_date){
+$fellowship_date = "2023-04-07 23:59:59.0";
+if($today<$fellowship_date){
echo ' <link rel="stylesheet" type="text/css" href="https://fossee.in/data/banner/css/nice-bar.css" />
<link rel="stylesheet" type="text/css" href="https://fossee.in/data/banner/css/lightbox.css" />
<script type="text/javascript" src="https://fossee.in/data/banner/js/nice-bar.js"></script>
-<div style="margin-bottom:5px; border-bottom:none; width:90%; background-color:transparent;">
-
-<a href="https://iitb-fossee-mapathon.fossee.in/" target="_blank"><img src="https://static.fossee.in/qgis/banners/mapathon_2023_banner.gif"></a>
+<div class="nice-bar" style="margin-bottom:5px; border-bottom:none; width:90%; background-color:transparent;">
+ <a class="nice-text" href="https://fossee.in/fellowship/2023" target="_blank">
+ <img src="https://static.fossee.in/fossee/banners/fsf-2023-banner.png">
+ </a>
+ <a class="nice-text" href="https://iitb-fossee-mapathon.fossee.in/" target="_blank">
+ <img src="https://static.fossee.in/qgis/banners/mapathon_2023_banner.gif">
+ </a>
</div>
';
// class="nice-bar" class="nice-text"
}
+else{
+ echo ' <link rel="stylesheet" type="text/css" href="https://fossee.in/data/banner/css/nice-bar.css" />
+ <link rel="stylesheet" type="text/css" href="https://fossee.in/data/banner/css/lightbox.css" />
+ <script type="text/javascript" src="https://fossee.in/data/banner/js/nice-bar.js"></script>
+<div style="margin-bottom:5px; border-bottom:none; width:90%; background-color:transparent;">
+
+ <a href="https://iitb-fossee-mapathon.fossee.in/" target="_blank">
+ <img src="https://static.fossee.in/qgis/banners/mapathon_2023_banner.gif">
+ </a>
+
+</div>
+';
+}
?>