2010-09-15 16:55:54 +02:00
|
|
|
<?php
|
|
|
|
class links {
|
|
|
|
private $params = array();
|
|
|
|
|
|
|
|
public function __construct($params){
|
|
|
|
$this->setParams($params);
|
|
|
|
echo '<div class="appscontainer">
|
|
|
|
<span class="label">Google Apps</span>
|
|
|
|
<ul class="iconlist">
|
2010-09-15 17:55:18 +02:00
|
|
|
<li class="item"><a href="http://mail.google.com" onclick="spawnLink(this);return false;"><img src="images/links/gmail_128.png" /><br>Gmail</a></li>
|
|
|
|
<li class="item"><a href="http://mail.live.com" onclick="spawnLink(this);return false;"><img src="images/links/mail-msn.png" /><br>Hotmail</a></li>
|
2010-09-15 16:55:54 +02:00
|
|
|
<li class="item"><a href="http://mail1.voila.fr/webmail/fr_FR/login.html" onclick="spawnLink(this);return false;"><img src="images/voila.png" /><br>Voila.fr mail</a></li>
|
2010-09-15 17:55:18 +02:00
|
|
|
<li class="item"><a href="http://calendar.google.com" onclick="spawnLink(this);return false;"><img src="images/links/calendar_128.png" /><br>Google Calendar</a></li>
|
|
|
|
<li class="item"><a href="http://reader.google.com" onclick="spawnLink(this);return false;"><img src="images/links/reader_128.png" /><br>Google Reader</a></li>
|
|
|
|
<li class="item"><a href="http://docs.google.com" onclick="return spawnLink(this);"><img src="images/links/docs_128.png" /><br>Google Docs</a></li>
|
2010-09-15 16:55:54 +02:00
|
|
|
</ul>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<span class="label">Media</span>
|
|
|
|
<ul class="iconlist">
|
2010-09-15 17:55:18 +02:00
|
|
|
<li class="item"><a href="http://youtube.com" onclick="spawnLink(this);return false;"><img src="images/links/youtube_128.png" /><br>YouTube</a></li>
|
|
|
|
<li class="item"><a href="http://picasaweb.com" onclick="spawnLink(this);return false;"><img src="images/links/picasaweb_128.png" /><br>PicasaWeb</a></li>
|
|
|
|
<li class="item"><a href="http://www.netvibes.com" onclick="spawnLink(this);return false;"><img src="images/links/netvibes.png" /><br>Netvibes</a></li>
|
|
|
|
<li class="item"><a href="http://www.deviantart.com" onclick="spawnLink(this);return false;"><img src="images/links/deviantART128.png" /><br>DeviantArt</a></li>
|
|
|
|
<li class="item"><a href="https://www.labanquepostale.fr/index.html" onclick="spawnLink(this);return false;"><img src="images/links/banquepostale.png" /><br>Banque 1</a></li>
|
|
|
|
<li class="item"><a href="http://www.societegenerale.fr/" onclick="spawnLink(this);return false;"><img src="images/links/societegenerale.png" /><br>Banque 2</a></li>
|
2010-09-15 16:55:54 +02:00
|
|
|
</ul>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<span class="label">Desk Accessories</span>
|
|
|
|
<ul class="iconlist">
|
2010-09-15 17:55:18 +02:00
|
|
|
<li class="item"><a href="javascript: openContactList()" ><img src="images/links/contacts.png" /><br>Contacts</a></li>
|
|
|
|
<li class="item"><a href="javascript: openCalculator();"><img src="images/links/calculator.png" width="16" height="16" /><br>Calculator</a></li>
|
|
|
|
<li class="item"><a href="javascript: openTodo();"><img src="images/links/tasks.png" width="16" height="16" /><br>To-do list</a></li>
|
|
|
|
<li class="item"><a href="javascript: openCalendar();"><img src="images/links/calendar_128.png" width="16" height="16" /><br>Calendar Panel</a></li>
|
|
|
|
<li class="item"><a href="javascript: openNotepad();"><img src="images/links/notepad.png" width="16" height="16" /><br>NotePad</a></li>
|
2010-09-15 16:55:54 +02:00
|
|
|
</ul>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<span class="label">Entertainment</span>
|
|
|
|
<ul class="iconlist">
|
2010-09-15 17:55:18 +02:00
|
|
|
<li class="item"><a href="http://facebook.com" onclick="spawnLink(this);return false;"><img src="images/links/facebook.png" /><br>Facebook</a></li>
|
|
|
|
<li class="item"><a href="http://twitter.com" onclick="spawnLink(this);return false;"><img src="images/links/twitter.png" />Twitter</a></li>
|
|
|
|
<li class="item"><a href="http://fr.vente-privee.com/" onclick="spawnLink(this);return false;"><img src="images/links/vp128.png" />Ventes Privées</a></li>
|
|
|
|
<li class="item"><a href="http://www.google.fr/movies" onclick="spawnLink(this);return false;"><img src="images/links/Gmovie.png" />Horaires Ciné</a></li>
|
2010-09-15 16:55:54 +02:00
|
|
|
|
|
|
|
</ul>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
</div>';
|
|
|
|
}
|
|
|
|
|
|
|
|
private function setParams($params){
|
|
|
|
$this->params = $params;
|
|
|
|
}
|
|
|
|
|
|
|
|
public static function start($params){
|
|
|
|
$links = new links($params);
|
|
|
|
}
|
|
|
|
}
|