Thursday, January 27, 2011

How to make income statement while aplying for the visa

   Date Dec 6, 2005


To Whom It May Concern


This is to certify that Mr ........................ and his spouce Mrs. ............., their son Mr. ................. are the permanent resident of ..................(address). They have the following income from various sources.


S. No.
Sources of Income
Proprietor/ Owner
Monthly Income (Nrs.)
Annual Income (Nrs.)
1.
House Rent
Mr .................
5,000.00
60,000.00
2.
Pension
Mr.....................
8,681.00
112,853.00
4
Job Salary
Mr .......................
8,000.00
104,000.00
Mrs ..........................
15,461.53
201.000.00
Total
--.00
In words ----
Exchange Rate: AUD1 = Rs. 54.00
Equivalent to AUD ---
In wods AUD----------------------only


------------
--------------
CA

Vacancy in Dubai

Has been removed because my author copied from other :)

Monday, January 24, 2011

Yesto pani huna sakcha....... A letter from Preetam to computer technician

Yesto pani huna sakcha.......
--------------------------------------------
A letter from Preetam to computer technician
--------------------------------------------
Dear Tech Support,Computer husband joke

Last year I upgraded from Boyfriend 5.0 to Husband 1.0. What I have noticed is a slow down in the performance of the flower and jewellery applications, which had operated flawlessly under the Boyfriend 5.0 system. In addition, Husband 1.0 un-installed many other valuable programs, such as Romance 9.9, but installed undesirable programs such as Sport 7.3, NFL 3.2 and Tennis 4.1. Conversation 8.0 also no longer runs and Housecleaning 2.6 simply crashes the system. I've tried running Nagging 5.3 to fix these problems, but to no avail. What can I do?

Your faithfully

Desperate Preetam

---------------------------

Reply from Tech Support
---------------------------
Dear Desperate Susan,

First, keep in mind that Boyfriend 5.0 was an entertainment package, while Husband 1.0 is an operating system. Try to enter the command C:/I THOUGHT YOU LOVED ME and install Tears 6.2. Husband 1.0 should then automatically run the applications: Guilt 3.3 and Flowers 7.5. But remember, overuse can cause Husband 1.0 to default to such background applications as Grumpy Silence 2.5, Happy Hour 7.0, or Beer 6.1. Please remember that Beer 6.1 is a very bad program that will create Snoring Loudly.WAV files.

DO NOT install Mother-In-Law 1.0 or reinstall another Boyfriend program. These are not supported applications and will crash Husband 1.0. It could also potentially cause Husband 1.0 to default to the program: Girlfriend 9.2, which runs in the background and has been known to introduce viruses into the Operating System.

In summary, Husband 1.0 is a great program, but it does have a limited memory and can't learn new applications quickly. You might consider buying additional software to enhance his system performance. I personally recommend Home Cooking 3.0 and Single Malt Scotch 4.5. Finally consider applications such as Lingerie 6.9 (which has been credited with improved performance of his hardware).

Good Luck

Tech Support

If you have any suggestions for improvements for future releases of this computer software then please post them here.

Monday, January 17, 2011

Ajax Pagination

     
  • Change the file path and the path must be absolute
  •  
  • Change the $qry, where $qry is the query that you want to retrive the data from the database
  •  
  • Change the $starting if you want to change the first starting in most cases it is 0
  •   
  • Change the $recpage the record per page
  •  
  • To change the design change the designpage.php
  •  
  • To change the search form the testpage.php
  •  
  • To change the design of the pagenumber check in the pagination_class.php
  •  
  • No. of pages showing in the left and right side of the current page in the anchors can be changed with the change of the $anchor value at the pagination_class.php
       
  • If you dont like to show the next>>previous>> first >>last link then comment in paginaton_class.php
     
  •  if($previous < 0){
    //$anc .= "
  • First
  • ";
    //$anc .= "
  • Previous
  • ";
    }else{
    //$anc .= "";
    //$anc .= "";
    }


  •     ajax pagination, simple ajax pagination, pagination function in ajax, ajax pagination with files and folders  
       
  •     

Saturday, December 25, 2010

To control the view section of the MVC framework in PHP (Part 1 of 5)

class View
{
    function showGrid($data)
    {
        include_once ('components/product_category/views/grid.php');
    }
   
    function showForm($obj_,$cdata)
    {
        include_once ('components/product_category/views/form.php');
    }
}
?>

To list the product category from the database in PHP with the use of MVC framework (Part 5 of 5)


Product Categories


                 

              Add New Category
         

Form to show editable part and insert section in MVC of PHP(Part 2 of 5)




Untitled Document



<?php

$cmd = '';

if(isset($obj_))

{

$cmd = 'update';

$btnText = 'Save';

}

else

{

$cmd = 'insert';

$btnText = 'Add';

}

?>

<div class="heading">Add/Edit Categories</div>

<form method="post" onsubmit="return submitbutton('', 'f');" id="f" name="f" enctype="multipart/form-data" action="?menu=<?php echo $_REQUEST['menu']; ?>&p=<?php echo $_REQUEST['p']; ?>&p_sub=list&opt_view=<?php echo $cmd; ?>&edit_id=<?php echo $_GET['edit_id']; ?>">
<table width='50%' class='tblList' cellpadding='0' cellspacing='0'>

<tr class="tr_1">

<td style='padding-left:3px; width: 100px;'>Title </td>

<td>

<input type="text" required="1" id="title" title="Title" name="title" value="<?php echo $obj_['title']; ?>" class = "staff_dtl_text" />

</td>

</tr>

<tr class="tr_1">

<td style='padding-left:3px; width: 100px;'>Parent Category </td>

<td>

<select name="cat_id">

<option value="0">None</option>

<?php

foreach($cdata as $c)

{

?>

<option value="<?php echo $c['id']; ?>"><?php echo $c['title']; ?></option>

<?php

}

?>

</select> if you choose "None" that will be parent category

</td>

</tr>



<tr>

<td>&nbsp;</td>

<td>

<input type="submit" name='submit' value="<?php echo $btnText; ?>" class="submit" />

<input type="button" name='cancel' value="Cancel" onclick="document.location='<?php echo $_SERVER['HTTP_REFERER']; ?>';" class="submit" />

</td>

</tr>

</table>
</form>


Controller Part to list, grid, view, insert, update and delete in the MVC framework (Part 3 of 5)

include_once('components/product_category/model.php');
include_once('components/product_category/views/view.php');

class Controller
{
    function doAction()
    {
        switch ($_REQUEST['p_sub'])
        {
            case 'list':
                if($_REQUEST['opt_view'] =='insert')
                {
                   
                    Model::insert();
                }
               
                if($_REQUEST['opt_view'] =='delete')
                {
                    Model::delete($_GET['del_id']);
                }
               
                if($_REQUEST['opt_view'] =='update')
                {
                    Model::update($_GET['edit_id']);
                }
       
       
                $data=Model::getall(0);
                View::showGrid($data);
               
                break;
               
            case 'form':
                if($_REQUEST['opt_view'] =='edit')
                {
                    $obj_ = Model::getSingleItem($_GET['edit_id']);
                }
                $cdata = Model::getParentCategory();
                View::showForm($obj_,$cdata);
                break;
               
        }
    }
}
?>

function to edit or update, delete, insert and select as per requirement in MVC framework (Part 4 of 5)

class Model
{
    function getall($id)
    {
       
        $sql='select * from product_category where parent_id='.$id;
        $rs=mysql_query($sql);
        $list=array();
        while($row=mysql_fetch_assoc($rs))
        {
            echo '
    ';             echo $row['title'];             ?>                        Delete    Edit            echo '
  • ';
                Model::getall($row['id']);
                echo'

  • ';             echo '
';
        }
        return $list;
    }
    function getParentCategory()
    {
        $sql='select * from product_category where parent_id=0';
        $rs=mysql_query($sql);
        $list=array();
        while($row=mysql_fetch_assoc($rs))
        {
            $list[]=$row;
        }
        return $list;
    }

   
    function update($id)
    {
        $sql = 'UPDATE product_category SET title = "'.$_POST['title'].'"'.' WHERE id = '.$id;   
        mysql_query($sql);
    }
   
    function getSingleItem($id)
    {
        $sql='select * from product_category WHERE id = '.$id;
        $rs=mysql_query($sql);
        $list=array();
        while($row=mysql_fetch_assoc($rs))
        {
            $list[]=$row;
        }
        return $list[0];
    }
   
    function delete($id)
    {
        $sql = 'DELETE FROM product_category WHERE id  = '.$id;
        mysql_query($sql);
    }
   
    function insert()
    {
        $sql='INSERT INTO product_category(title,parent_id) VALUES ("'.$_POST['title'].' ","'.$_POST['cat_id'].' ")';
        //echo $sql;
        mysql_query($sql);
    }
}
?>

Friday, December 24, 2010

Funny things about education



Education is for those who can buy it. If you have no money then you don't have

right to be educated

Love at first sight is not love, its actually sexual attraction according to

scientific research.. ha ha funny , specially when there is hell lots of love songs

and movies and shits regarding this... "Love at first sight" is horny thing ..:D

Specially in Math , teacher teach some lesson ,ask him what's its use in future his reply will in +2 or in Bachelor i.e in higher level education.. ask him what's its use in real life there will be no answer.

Bill Gates left his study and made Microsoft , Mark Zuckerberg Left his study and made Facebook. Richard Branson left study and founded Richard Virigin Group and all of them are billionaires . Those who completed their study now works under them... kinda inspiration biographies.. ,

Why is Management teacher not manager ? why engineering teacher not engineer and account teacher C.A or accountant .

Engineering or BBA or CA toppers usually becomes teacher and Average students usually work in the field. ... why ask more be happy in Average.

I wonder what these +2 colleges are trying to prove by killing innocent Frogs and earthworms in name of education.

bholi ko kam pani aja gar rey, bholi ko kam aja garyo bhaney bholi k garney?

bholi dekhi sure padchu , esto bhaney ko pani 10 barsa bhaisakyo. ahiley samma tyo bholi ayena.

There are lots of people who say, i miss my school/co llege days, but i dont miss my school, i just miss my school friends and fun we had. fuck every thing beside this.


The people who runs early morning are fat people trying to lose weight, old people trying to be healthy, or student trying to reach school/college


education ma pani tax lagaey thukka esto pani ho aba

School is practice for the future, and practice makes perfect, and nobody's perfect, so why practice?


i wasnt born intelligent, neither education made me intelligent


ime to time when i see her my heart beat increases, this may be love ....
..
... or symptoms of cardiac arrest

There is saying, "Wear old Coat, but buy new Book" , after my deep research i found out that the person who said this is is book write and he owned a book shop.


I passed exam because of AIDS , if you want to pass exam you should also get AIDS .
see how funny is this word aids and can misinterpret the meaning , Finally AIDS is Funny.


To have Positive Mental Attitude, you shouldn't look back. Thats why I always sit at last bench ,so that i never have to look back.‌


Summeet Sonzu says
"kasto khal ko rule ho yo.euta ma fail bhayo bhane chai sabai ma fail hune re. Euta ma pass vayo bhane chai sabai ma pass kina na hunne?" I think we should also think about this unfair education & grading system‌


If u read the biography of sucessful people,u will find they left their study and everything to chase their dream..Problem is i don't have a dream, should i chase a good sleep first ?


there is news that hseb11 Result will be out on mangsir last week. I guess this yr also 50% student will fail..k garney jindagi estai ho koi pass koi fai