Sarphira Sa Hai Dil Lyrics – Love U Mr Kalakaar


Movie: Love U Mr Kalakaar (2011)
Music Director: Sandesh Shandilya
Lyricist: Manoj Muntashir
Singer(s): Shreya Ghosal, Neeraj Shridhar
Director: S Manasvi
Producer: Kamal Kumar Barjatya, Rajkumar Barjatya, Ajit Kumar Barjatya
Cast: Tusshar Kapoor, Amrita Rao, Madhoo,Prem Chopra, Ram Kapoor, Jai Kalra, Kiran Kumar

Sarphira Sa Hai Dil Lyrics – Love U Mr Kalakaar

Crossing round my fingers
Baby don’t let it go
Feeling that I’m getting
I haven’t felt it low
I surrender, massive to you
Is all I want to show to know who..

Crossing round my fingers
Baby don’t let it go
Feeling that I’m getting
I haven’t felt it low
I surrender, massive to you
Is all I want to show to know who..

Sarphira sa hai dil sarphira hai
Na jaane kyun..
Tumhe chor nazron se dekhta hai dil
Na jaane kyun..
Jitna dekhe
Utna tadapta hai
Roke se na maane kyun..

Thandi dhoop si hai
Thodi badliyan hai
Kuch paas hai hum
Kuch dooriyan hain
Beqarariyan hi..
Beqarariyan hai

Beqarariyan hi..
Beqarariyan hai

Abhi kal mile the hum
Kal mile the yahin kahin..
Aaj tum hi tum ho..o..
Main kahaan hoon kahin nahi

Jab se main hoon
Tab ho mere
Dil ke aas paas
Jaanti hain tumhe
Mere dhadkane
Meri har ek saans
Seene se mere
Jo utha hai dhuaan
Tumhe chhoo ke guzre kaash

Tum bhi toh Jaanu
Betabiyan hain
Kuchh toh hai rishtey
Jo darmiyaan hain
Beqarariyan hi
Beqarariyan hain

Call them to the season of love
Come give you so for reason to love
Call them to the season of love
Come give you so for reason to love…

Crossing round my fingers
Baby don’t let it go
Feeling that I’m getting
I haven’t felt it low
I surrender, massive to you
Is all I want to show to know who..

Jisko nazar yeh meri
Kab se dhoondti rahi..
Rang maine dekha hai.e..
Teri aankhon me wahi

Haule se baatein kar raha hu main
aayi na aayi yakin

Mere sapno me.. jo
Rang raliyaan hain
Kuch bhi nahi.. yeh
Teri jhalkiyaan hain
Beqarariyan hi..
Beqarariyan hain..

Sarphira sa hai dil sarphira hai
Na jaane kyun.. (Na jaane kyun..)

Tumhe chor nazron se dekhta hai dil
Na jaane kyun..

Jitna dekhe
Utna tadapta hai
Roke se na maane kyun.. (Roke se na maane kyun..)

Thandi dhoop si hai (Its the season of love)
Thodi badliyan hai (Its the reason to love)
Kuch paas hai hum (Its the season of love)
Kuch dooriyan hain (Its the reason to love)
Beqarariyan hi..
Beqarariyan hai

Call them to the season of love
Crossing round my fingers
Come give you so for reason to love
Feeling that I’m getting
Call them to the season of love
I surrender, massive to you
Come give you so for reason to love…

Mysql function to Check if an year is leap year or not


Mysql function to Check if an year is leap year or not:

drop function if exists is_leapyear;
delimiter |
CREATE FUNCTION is_leapyear(y1 int(4))
RETURNS int(1)
begin
declare r int;
set r = case when (y1%4=0) then 1 else 0 end;
return r;
end|

Register Post Types, Using Capabilities:


Register Post Types, Using Capabilities:

When using custom post types in wordpress, I did some research and found some permission levels. These things are not exclusively explained in WordPress documentation (http://codex.wordpress.org/Function_Reference/register_post_type ).

For example, I am adding a custom post type called book, then I would add following code to my plugin:

add_action('init', 'add_books_init');
function add_books_init()
{
  $labels = array(
    'name' => _x('Books', 'post type general name'),
    'singular_name' => _x('Book', 'post type singular name'),
    'add_new' => _x('Add New', 'book'),
    'add_new_item' => __('Add New Book'),
    'edit_item' => __('Edit Book'),
    'new_item' => __('New Book'),
    'view_item' => __('View Book'),
    'search_items' => __('Search Books'),
    'not_found' =>  __('No books found'),
    'not_found_in_trash' => __('No books found in Trash'),
    'parent_item_colon' => '',
    'menu_name' => 'Books'

  );
  $args = array(
    'labels' => $labels,
    'public' => true,
    'publicly_queryable' => true,
    'show_ui' => true,
    'show_in_menu' => true,
    'query_var' => true,
    'rewrite' => array('slug'=>'mybooks'),
    'capability_type' => array('book','books'),
    'has_archive' => true,
    'hierarchical' => false,
    'menu_position' => null,
    'supports' => array('title', 'comments', 'editor'),
	'taxonomies'=>array('book'),
	'exclude_from_search'=>false
  );
  register_post_type('book',$args);
}

Notice the argument capability_type, which is optional in register post type. However, if we do not add this argument, the new book section will be registered with permissions as that of posts.

Now, in our case, the books sections is registered as a new entity, having its own permission set. We need to assign some new permissions to any user to access this entity (to an administrator also!)

In our case, the permissions that need to be assigned are mentioned below:

edit_books
edit_book
publish_books
publish_book
delete_book
delete_books
edit_others_posts
read_private_books

We can use some sort of plugins or use wp_capability variable to assign these permissions. I used capsman plugin for the same. Have a look at the screenshot: