Archive for April, 2007
Main
You want display a few Blogentries of your Wordpress blog, can also be any other Blog, where you have query rights to? Then continue reading. It’s in just five minutes done! As beginning we need to find out where wordpress stores the blog entries. The entries are saved in the table preposts Where pre is replaced with the prefix your table got from you. Now we get to the coding part. <?php
//Code to create The Newsfeed print (‘<script language=”Javascript”><!–’.”\n”); print (‘v_content=[');$tablename = "preposts";//replace it with your wordpress prefix $query = "SELECT ID, guid, post_title, post_content, date_FORMAT(post_date_gmt, '%a %d %b <br /> \at %r')AS Datum FROM $tablename WHERE `post_status`='publish' ORDER BY post_date_gmt DESC LIMIT 0,4"; //selects and return the first 4 published entries, you can also change the number to more $result = mysql_query($query)Or die("Query<pre>$query</pre> Error: ".mysql_error());if (mysql_num_rows($result)){ for ($i=1;$i<=4;$i++) { $row=mysql_fetch_assoc($result); print ("['$row[guid]‘,’<strong><font style=\”font-size:9pt\”>”.str_replace(“‘”,”‘”,$row[post_title]).”</font></strong><br /> <font style=\”font-size:7pt\”>Posted on $row[Datum]</font><br />’,'_blank’]”); The printing part is build up in this way: ['LINK to','Text to display','NeworSame Window'] That’s already everything we need for the header part. <div id=”top_outer”>
<div id=”top_inner”> <?php if ( mosCountModules( ‘top’ ) ) { mosLoadModules ( ‘top’ ); /*code to show the blog entries,*/ print(‘<script language=”JavaScript1.2″ xsrc=”newsflash.js”></script>’); print(‘<a xhref=”http://blog.phsoftware.de”>More at PSB-Blog</a>’);/*end of showing code*/ } else { You see we need some extern javascript file, the file can be found here for free use. You just need to put it into your joomla root. And that’s all you need.
Apr
23
2007
Yahoo Messenger Virus/Trojan/Worm removalPosted by: Lejer in Antivirus, Articles, Windows
antivirus Articles Windows worm removal yahoo messenger status
This brand new virus is now everywhere. It is spreading so fast as it targets users of Yahoo Instant Messenger. Users can protect themselves by not clicking on links sent to them by other users or contained in Yahoo! Messenger status messages of those contacts on their contact list. The virus propagate himself through messenger ’shared by friends’ links. Most of infected people hate that words “yahoo virus through messenger” but’s the way of multiplication.
antivirus Articles best antivirus list comodo antivirus Windows
A comprehensive list of good antiviruses from cybernetnews.com that i want to share with your: http://tech.cybernetnews.com/2006/09/04/and-the-best-antivirus-is/ Worth a read, and also, ensure you have one antivirus only, and keep it up to date! Another antivirus that worth to be mentioned here, it’s a free , and also good one, named …
Windows
Network SetupSharing an IP Address Using a Single ComputerYou can use a single computer instead of a router to share a single IP address provided by your Internet Service Provider. In this case, the computer is a host that takes or receives requests from other computers on the network and transmits them to or from the Internet. You can use a single host computer to share an IP address either by using dual network interface cards, or a software program that supports Internet connection sharing. Before You Begin Note: ITS does not recommend Internet Connection Sharing (ICS), as it can open up a number of security breaches in your machine. ICS is automatically installed during the Windows XP installation process if you choose to set up a home or small office network using the Network Setup Wizard. To avoid installing ICS, do not use the wizard. |





Entries (RSS)