Friday, 24 May 2013

New Blogger Widget: Contact form - Change Style & Install in a Static Page

Just a few days ago, Blogger introduced a new contact form widget that you can add to your blog easily. At the moment, it is very basic because, at least for now, does not allow sending files or anything other than plain text.

The contact form for Blogger has the following features:
  • Field for the user name
  • Field for email
  • Field for the message (textarea)
  • Submit Button
contact form, blogger gadgets, static page
The design is simple and the text colors inherit the section where you add it. At the moment, this widget has no configuration options and is not available for dynamic views.

How to Add Contact Form to Blogger

To add it to your blog, just select the Layout tab, then click on "Add a gadget" in the section you want to show - for example, in the sidebar. Then, select the More gadgets tab and add the Contact Form gadget.


blogger gadgets, blogger widgets, contact form

Styling Contact Form

Since the background is transparent, the form will blend well aesthetically speaking, but nevertheless it is easy to modify using Style Sheets (CSS) to the appropriate selectors. Here's an example:

/* Contact Form Container */
.contact-form-widget {
width: 500px;
max-width: 100%;
margin: 0 auto;
padding: 10px;
background: #F8F8F8;
color: #000;
border: 1px solid #C1C1C1;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
border-radius: 10px;
}

/* Fields and submit button */
.contact-form-name, .contact-form-email, .contact-form-email-message {
width: 100%;
max-width: 100%;
margin-bottom: 10px;
}

/* Submit button style */
.contact-form-button-submit {
border-color: #C1C1C1;
background: #E3E3E3;
color: #585858;
width: 20%;
max-width: 20%;
margin-bottom: 10px;
}

/* Submit button on mouseover */
.contact-form-button-submit:hover{
background: #4C8EF9;
color: #ffffff;
border: 1px solid #FAFAFA;
}

This is how it will look like after applying the style:
contact form, blogger gadgets, contact form for blogger

To add this style, go to Template > Edit HTML, click on the sideways arrow next to <b:skin>...</b:skin> and paste the code just above ]]></b:skin> (press CTRL + F to find it):


How To Add Contact Form In A Static Page


First step is to add the Contact Form gadget (Layout) and second, to edit the template (Template > Edit HTML) to remove most of the gadget. You have to search for the id "ContactForm", expand the widget by clicking on the black arrow on the left (same with the includable) and then delete the part that I have colored in red (see below):

Part to be removed:

  <b:widget id='ContactForm1' locked='false' title='Contact Form' type='ContactForm'>
    <b:includable id='main'>
  <b:if cond='data:title != &quot;&quot;'>
    <h2 class='title'><data:title/></h2>
  </b:if>
  <div class='contact-form-widget'>
    <div class='form'>
      <form name='contact-form'>
        <p/>
        <data:contactFormNameMsg/>
        <br/>
        <input class='contact-form-name' expr:id='data:widget.instanceId + &quot;_contact-form-name&quot;' name='name' size='30' type='text' value=''/>
        <p/>
        <data:contactFormEmailMsg/> <span style='font-weight: bolder;'>*</span>
        <br/>
        <input class='contact-form-email' expr:id='data:widget.instanceId + &quot;_contact-form-email&quot;' name='email' size='30' type='text' value=''/>
        <p/>
        <data:contactFormMessageMsg/> <span style='font-weight: bolder;'>*</span>
        <br/>
        <textarea class='contact-form-email-message' cols='25' expr:id='data:widget.instanceId + &quot;_contact-form-email-message&quot;' name='email-message' rows='5'/>
        <p/>
        <input class='contact-form-button contact-form-button-submit' expr:id='data:widget.instanceId + &quot;_contact-form-submit&quot;' expr:value='data:contactFormSendMsg' type='button'/>
        <p/>
        <div style='text-align: center; max-width: 222px; width: 100%'>
          <p class='contact-form-error-message' expr:id='data:widget.instanceId + &quot;_contact-form-error-message&quot;'/>
          <p class='contact-form-success-message' expr:id='data:widget.instanceId + &quot;_contact-form-success-message&quot;'/>
        </div>
      </form>
    </div>
  </div>
  <b:include name='quickedit'/>

</b:includable>
  </b:widget>

After you have saved the template, go to Pages and paste the following code into a new blank page with the title you want:

 <div class='widget ContactForm' id='ContactForm1'>
  <div class='contact-form-widget'>
    <div class='form'>
      <form name='contact-form'>
        <p>Name</p>
        <input class='contact-form-name' id='ContactForm1_contact-form-name' name='name' size='30' type='text' value=''/>
        <p>E-mail *</p>
        <input class='contact-form-email' id='ContactForm1_contact-form-email' name='email' size='30' type='text' value=''/>
        <p>Message *</p>
        <textarea class='contact-form-email-message' cols='25' id='ContactForm1_contact-form-email-message' name='email-message' rows='5'></textarea>
        <input class='contact-form-button contact-form-button-submit' id='ContactForm1_contact-form-submit' type='button' value='Submit'/>
        <p class='contact-form-error-message' id='ContactForm1_contact-form-error-message'></p>
        <p class='contact-form-success-message' id='ContactForm1_contact-form-success-message'></p>
      </form>
    </div>
  </div>
</div>

Messages will be sent to the same email that you have registered in Blogger.

Here is the demo page where you can test it (this is an account for demo purposes only, so don't expect any reply).

That's it! If you have any questions or comments, leave them below.

25th MAY 2013 AUD Weekly report

AUD Primary and Monthly cycles

Primary cycles are weak, even though there is now some support around the 2013 Yearly lows.
However, we must treat the trend as if it's going down for the next 2 years

There's a breakout of the 3-month lows (#A) that should see the market continue down into #B the BUY zone.

However, if the Primary lows supports the AUD, then we could instead have a swing upwards in the last 5-day of MAY, and a 3-week counter-trend rally, as part of retesting the breakout/June 50% level (#C)

if that happens, then it's likely to set-up further weakness down into #B)

Thursday, 23 May 2013

Top 5 Best Free Music Downloader App for Android

Music, a basic part of our daily life but plays a very important role in our life. It is a universal language understood by everyone and can bring people together. Whether it’s riding the subway to work, jogging in the park, or when we feel tired, music is arguably the best way to help us get into a good mood. And nowadays, the feeling of enjoy music on the go is really amazing and wonderful, so below I will show you the top 5 best free music downloader app for Android-mp3 downloader to make you insanely entertainment. If you want to get YouTube music to your android for offline enjoying, check the 2 Best Ways to Get YouTube Music for Totally Free I provided for you.

Top1:  Download free music MP3 App (Rated: 4.7)
This music download app is every music enthusiast's best friend. The app has millions of MP3 music songs and it can easily help you download MP3 Music to your Android mobile. You can also manage your MP3 music songs after downloading.
Top 2:  Simple mp3 Downloader (Rated: 4.4)
Simple MP3 Downloader is so simple that even a kindergartener could use it. With its tidy-looking UI, this app lets you search and download songs for not a single penny. Living up to its simplicity, the app lets you have the freedom to search for a song's artist, title, or album — perfect for those who tend to forget who sang the song or what the title is. It allows you to hear the song first before you download it.

Top 3:  Mp3 Music Search & Download (Rated: 4.2)
With this app, you can search and download mp3 music through the best music search engine. You can even edit the songs, cut them and set them as the call ringtone, notification and single contact ringtone!
Top 4:  Music download (Rated: 4.5)
It is a must have musical application that can let you free download thousands of music and mp3 to your sdcard. You can easily manage these music in your sdcard including rename, categorize, delete, share and so on.
Top 5: MP3 Music Download Free (Rated: 3.9)
This app is a free search engine and music downloader and player that can let you search and listen music from the internet. Unlike other apps, MP3 Music Download Free gives you a new, enjoyable experience, continuously flowing the songs matching your search criteria. With this app you can spawn many consecutive searches, refining them by title, singer/author, and album.

Above are the top 5 Free Android music Apps for Downloading Free Music. Just pick your favorite.

Dead Morning, an open-source horror game

Today I bring you news of yet another rather low profile Darkplaces engine game (e.g. the same engine that runs Xonotic), called Dead Morning:



As you can see in these other, more game-play oriented videos (1, 2, 3), it seems to be quite heavily influenced by another recent 1st person horror game...

The website mentions a fully open-source release at the end of this year, so I am rather intrigued what they will come up by then!

Another Skype worm


Remember this post from not too long ago?
Worm spreading through Skype and Messenger

Well, seems this tactic is getting more popular...

A new Skype worm shows you the following message:

this is a very nice photo of you http://bit.ly/10UCanc?fotos=%username% :$
this is a very nice photo of you http://bit.ly/10UCanc?id=%username% :P
Other languages are possible as well, for example Russian:
это очень хорошая фотография вы http://bit.ly/10UCanc?fotos=%username%


When clicking on the link, it gets redirected to a filesharing site and downloads the following file:
facebook_profile.zip

Inside is an EXE file called:
profile-facebook_23052013_img.exe
MD5: 669441b1f5532bdc1a5371112dabc4c8
VirusTotal Result (15/46)
Anubis Result
Malwr Result

When executing the file, you start spreading this message as well to all your Skype friends. There is no icon for the EXE file, which should ring some bells... Actually, the "pictures" being a single EXE file should ring bells so hard the whole neighbourhood wakes up.


Filesharing sites used to spread the malware:
4shared.com
hotfile.com


These filesharing sites have already removed all the malicious files and cannot be downloaded anymore.
Malware files already removed, awesome!





Some interesting stats for the bit.ly link:

Current amount of clicks








Geographic distribution of clicks.





As you can see, there have been over 120,000 clicks today, that's quite a lot!  Also interesting to note is that most clicks are in Belarus, which may indicate where the malware's origin lies (or at least where the infection point started).

As far as I could see, the malware creates a file with a random name in the C:\Programdata or %appdata% folder, injects into explorer.exe and thus is able to 'protect' itself:
When deleting said malware file, it will immediately re-create.

The malware also tries to phone home to (currently offline):
hXXp://r.gigaionjumbie.biz/images/gx.php
hXXp://x.dailyradio.su/images/gx.php
hXXp://w.kei.su/images/gx.php


The above links are related with the Alureon malware, which can download other malware as well as steal your credentials and other personal information. Microsoft:
Win32/Alureon is a family of data-stealing trojans. These trojans allow an attacker to intercept incoming and outgoing Internet traffic in order to gather confidential information such as user names, passwords, and credit card data. It may also allow an attacker to transmit malicious data to the infected computer. The trojan may modify DNS settings on the host computer to enable the attacker to perform these tasks. Therefore it may be necessary to reconfigure DNS settings after the trojan is removed from the computer. Source.


There are also some peculiar strings in the malware:
lTaj13zzz5632jetsusjabs 
Regrey8hiaid958562ids  
Culmbusy4teg217jo548 
Sel35scagalawn9ser84996  
Hinog968begs6421879  
Cyme28ilkax65274sunn35  
Toph8toil2528248030  
Pent8cute812  
hoorney milk  
DESTRUCT COMMON 

Not sure what those strings are supposed to mean, if there's any meaning to it at all.
To view all strings pulled from the malware image, check Pastebin:
http://pastebin.com/Svb40p9Q



Desinfection


  • Perform a full scan with your installed antivirus ànd a scan with another antivirus or antimalware product. You can check on VirusTotal which antivirus applications already detect this worm.
  • Change your Skype password.
  • Notify your friends that you had sent them a malware link.



Conclusion

This conclusion is pretty much the same as in my previous post about a Skype worm:


Worms spreading through Facebook, Twitter as well as IRC, MSN and Skype is nothing new. Still, it appears to be very successful as human curiosity wins in cases of doubt:
"Do I really have (embarassing) pictures of myself on this website? Better take a look!"

No, no, no!

Never click on unknown links, especially when a URL shortener service like bit.ly is used. (others are for example t.co, goog.gl, tinyurl, etc.)
Don't be fooled by known icons or "legit" file descriptions, this can easily be altered.

Even if you clicked the link and you're not suspicious, you should be when a file is downloaded and no pictures are shown, but just an EXE file.

For checking what is really behind a short URL, you can use:
http://getlinkinfo.com/
http://longurl.org/

For checking whether a file is malicious or not:
https://www.virustotal.com/