Monday, January 31, 2011

Where are you friends


I feel lonely and want to do something about it, so what must I do? Start by understanding a simple law of life which can help solve almost any problem. That law is: You have to give away what you wish to receive. Our actions are balls that bounce back to us. A corollary of that law is: Don't give others what you don't want to receive. If I punch someone, they will punch me back. If I hug someone, they will hug me back. It's as simple as that. And that is the wisdom contained in the teaching, "Do unto others as you would have them do unto you."
But there in no one for give and receive

Thursday, January 27, 2011

CSS interview questions

What is CSS? Explain its features.
Why do you use CSS?
What is a style sheet?
Why do you need a style sheet over regular HTML?
List different types of Style Sheets and how do you link to them?
Explain Class.
Explain Grouping.
What are the functions of following selectors? a.) h1 b.) .warning c.) #footer
Explain Embedded Style Sheet. How would you link to it?
Explain External Style Sheet. How would you link to it?
What is selector? Explain: a.) ID Selector b.) Contractual Selector c.) Attribute Selector d.) Parent Child Selector
What are the advantages and disadvantages of following style methods? a.) External Style Sheets b.) Embedded Style Sheets c.) Inline Styles
Situation - You want to set up a minimum width for IE. How would you do that?
Situation - You want to place a text over an image. How would you do that?
Situation - You want to combine multiple sheets into one. How would you do that?
Situation - You want to specify background images. How would you do that?
Explain following elements: a.) Inline b.) Block c.) Parent d.) Children
How do you separate content and design in CSS?
Explain pseudo classes.
Explain: a.) CSS declaration b.) Important declaration
Situation - You just set the background image and you want it to be non-repeating. What would you do?
Differentiate between ID and Class.
You want to have a you text-links without an underline. How would you do that?
Explain cascading order.
You want links of different colours on the same page. How would you do that?
Explain: a.) Value b.) Initial value
How would you style the following? a.) Table cells b.) Forms
Are there any WYSIWYG editors available for creation of style sheets?
You want to justify your text. How would you do that?
I want to place two paragraphs adjacent to each other. How should I do it?

Tere jane ka asar kuch aisa hua,tujhko dhoodhte-dhoodhte maine khood ko pa liya


Tuesday, January 25, 2011

Gantrantra Diwas ki hardik shubnkamnaye.......to all my friends

Monday, January 24, 2011

Pray For Peace


A suicide bomber killed at least 35 people at Russia's biggest airport on Monday in an attack that bore the hallmarks of militants fighting for an Islamist state in the north Caucasus region. I do not know why people do such things
I pray to God for all injured people and peace

How to Bring traffic to website

How to Bring traffic to website

Websites reflect your business. In this age where the ?world wide web? dominates, why not make its best use to reach the heights of your business. But while making such an effort, you might not have noticed the minor flaws in our website that might have repulsed a number of visitors. web analytics is such a tool with the help of which you can become aware and rectify all the flaws in your website. Here are a few guidelines you can count on:

Features that bring visitors to your website

Keywords, search engines, referral sites, links, etc. are considered to be the main factors that bring traffic to a website, all placed in a graph that keeps on varying. And it is web analytics that enables you to keep a track of how a visitor got to know about your site. The keywords that you put for a particular page on your website need to be kept under check because right keywords efficiently bring visitors from the search engines to the landing pages of your site. With the help of web analytics, you can find out the keywords that were mostly used and change the ones that were not very effective. Moreover, if the landing page is completely informative, the visitors keep on coming to your website, they remember the link and also share them with others. This can make your website popular.
Check if the visit was beneficial

web analytics is capable of tracking every action of the visitors. It tells you the number of times the visitors come to your website, the links they visited within your website, time spent on every page they visited, and the page from which they exit your website as well. Here, keeping a track of the exit page is most important because it tells you the inaccuracy of your web pages. For example, if you are a service provider and you see that your visitors leave your site from the home page itself without even clicking on the ?services? page, you should know that there is something on the home page that dissatisfied your visitor. So why not follow the well known saying, ?prevention is better than cure? and make your business flow smooth!

A single click on your site can be counted

The web analytics has a click path tracking system that identifies the links that a visitor clicks on your website and the pages they visit thereafter. Moreover, it even tells you the number of times the visitor clicked on the particular links. This would make you conscious and resolve the pages that were never clicked.

Find out how popular your site is

The web analytics can tell you the prefecture of your site visitors. Since the web is accessed globally, your website can have visitors from any corner of the globe. Different countries have different ways to represent their business through their website and when you see that majority of your visitors belong to a particular region of the world, allow your website to follow the norms of that region. This would certainly make your business flourish.

Saturday, January 22, 2011


Celebrated the Anniversary of great "Netaji Subhas Chandra Bose" the real hero of India.

Tuesday, January 18, 2011

Mother Cow

Wherever mother cow is being killed, certainly natural calamities will come. Demons cannot be changed and they will continue sinful life. They exploit mother nature and poor animals in all kinds of ways. Blind leading the blind. Nobody understands the real problem, Material solutions for material problems will never work. Stop exploiting nature in all kinds of ways. Stop this animal slaughter. Jesus told "Though shall not kill". But nobody follows. If you want to live like a demon, then nature will punish us. Oh God, please change the hearts of these stone hearted demons.

Earthquake

I realised that my bed was shaking and thinking what to do.Such a earthquake was never felt by my earlier. I hope all are well.
I pray to God for all injured people

Monday, January 17, 2011

Miss You


Within you I lose myself...
Without you I find myself
Wanting to be lost again.

Sunday, January 16, 2011


Ek aisa din aayega,Jab thoda sa sukun hoga,Na dil me koi kasis hogi na mann me koi jnoon hoga.

Saturday, January 15, 2011

Smile


Today I caught myself smiling for no reason... then I realized I was thinking about you

Friday, January 14, 2011

Wish You All Happy Makar Sankranti

Meri Maa Bhi
Sab Maaon Jesi Hai.
Zindgi K Tapte Sehra Me Thandi Chhaon Jesi Hai.
Bin Mange Jo Hon, Aarzu’en Puri.
Mere Dil
Se Jo Nikli, Un Sb Duaon Jasi Ha.
Mai Kya Btaun Kesi Hai.
Khuda Rakhe Salamat Saya,
Hmare Saron Par Ta Qyamat.
Farishton
Jesi Hai, Wo Sb Achi Maaon Jesi Ha.

Os Commerce Question & Answer

Catalog Section-

Question1-After installation how can we change store name?

Question2-And how can we develop on local host and after developed implement on server?

Question3-Strating error and solution-

Step1- change istall folder name.

Step2-C:\wamp\www\online\online\catalog\includes\configure.php ,property change as read only file.

Step3-

if (preg_match('/^(' . $value . ')(;q=[0-9]\\.[0-9])?$/i', $this->browser_languages[$i]) && isset($this->catalog_languages[$key])) {

$this->language = $this->catalog_languages[$key];



ereg is deprecated in PHP 5.3 but I don't have PHP 5.3 so I don't know if that will work.

Question4-top menu item increase and decrease?

Answer-

C:\wamp\www\online\online\catalog\includes\languages\english.php

define('HEADER_TITLE_NEW', 'NEW');

near line 59.

And

C:\wamp\www\online\online\catalog\includes\header.php

  |

Add in line 64



Question4-Add New page?

Answer-

First go to your /catalog/ root directory and open shipping.php(anypage) and do Save As,

then rename the page, I'll name mine new_page.php also. Be sure you save it to your

catalog root dir. Now you have a clone of your shipping.php(chosen page) file.



Now to go to /catalog/includes/languages/your_language/ and find shipping.php

and Save As this file also, this name should be the same as the previous page,

I'll name mine new_page.php also. Make sure you save it to your

/language/your_language dir. Now you have a language file for your new page.



You have created two new pages and now for some editing.



Open /catalog/includes/application_top.php and enter this code.



Edit this to match the name of your new_page.



define('FILENAME_NEW_PAGE', 'new_page.php');



I put mine right at the top of the other defines.



Now open /catalog/new_page.php and find this piece of code:

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHIPPING);



And change it to match your new new_page. Mine will be:

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_NEW_PAGE);





And on the next line you need to change this line:

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_SHIPPING, '', 'NONSSL'));



And change this to match your new_page name:

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_NEW_PAGE, '', 'NONSSL'));





Now go to /catalog/includes/languges/your_language/shipping.php And edit it to your taste.



And that is it. Now you can test your work. Open your browser and type in

http://www.yourdomain.com/new_page.php and you should see your new page. Now all you need



Question 5- three Images at top of top menu?

Answer-

C:\wamp\www\online\online\catalog\includes\header.php

Header table start from line 57 and end on 60,we can change anything like header logo or three images from here.

If we want not remove only change these three logo then-



If we want use foure or two images then-



If we want use flash then-



Question6- Change Top Logo of os commerce?

Answer-

C:\wamp\www\online\online\catalog\images\store_logo.png we change our image which name same with this image

If we need to big or small logo or use jpg or other extension logo then-

Question7-Logo and other things at bottom?

Answer-

For Bottom other things-

C:\wamp\www\online\online\catalog\includes\languages\english.php change in english.php

For Bottom Logo/banner-

C:\wamp\www\online\online\catalog\images\banners\oscommerce.gif

We can use admin panel for user banner or not.



If we need to big or small logo/banner or use jpg or other extension logo/banner then-



Question 8-Time of own country?



Question9-How to change the look and feel colours etc.

Answer-

Oscommerce uses a stylesheet to keep the look and feel consistent throughout the website. You can change the colours; font sizes etc, use an html colour chart to get the colour code you want. Just type in html true colour chart into Google and you will find lots of free ones. The style sheet is located here,



Catalog/stylesheet.css



When you change the box colours on your website you will notice that the corners of the boxes have not changed, this is because strangely they are images. They can be found not in the style sheet but in



Catalog/images/infobox there are four that need changing to the colour you chose in the stylesheet. We use a common package like Paint to do this. Just change the pixels using the editor in paint.

Question10-How to change the home page text?

Answer-



Catalog/includes/languages/English/index.php … you will see where the text is to be changed. Save and upload to overwrite the old file.



Also here you change the title “what’s new here” in two place approx line 22 and line 40. This title is controlled from the stylesheet, so if you want to make it bigger or a different colour then that’s the place.



Question11-How to upload your banner?

Answer-



As most images in OSC are called from code elsewhere it’s best to simply upload your image with the same code. Theexisting header image is oscommerce.gif so all you need to do is design you banner and then save it as oscommerce.gif and upload it to replace the default one. The size of the banner should be exactly 780 X 110 pixles.



You upload it here,



Catalog/images



Question12-How to turn off the OSC banner at the bottom?



Answer-

This is something that you can do from the admin section and not directly on the server. Go to your admin section (blue screen) select



tools/banners



You will see a red and green dot next to it, click the red dot to turn it off, DO NOT delete the banner totally as it is part of a banner group that needs to stay.



That’s about it, this should give you a basic look a feel, there is more to do but this is the main part done. If you have any problems post them and I will try to help. Also check out the osc forums. Remember before altering any pages always back up to your local drive.







Question13-How to change the top left menu items “top and “catalog”to Home and Shop?

Answer-



Two files need altering here,



1) catalog/includes/application_top.php



in line 466 HEADER_TITLE “change TOP to HOME”



in line 467 HEADER_TITLE “change CATALOG to SHOP”



2) catalog/includes/languages/English.php



in line 55 HEADER_TITLE “change both TOP words to Home”



in line 56 HEADER_TITLE “change both CATALOG words to SHOP”





Question15- Increase and decrease left and right menu item(informationbox)?

Answer-

includes/boxes/information.php

add

'' . BOX_INFORMATION_WHO . '
' .

At 23line

Then you need to add define('FILENAME_PRIVACY', 'privacy.php'); to includes/filenames.php

and then follow what you see your langauage/english.php file under // information box text in includes/boxes/information.php around line 122 of an vanilla OSC.



Question16-if I do not define page in filename.php then what will happen?

Question17-Where we define all page?

Question18-Main pages of os commerce?

Question19-Change color or style of all menu top images?

Question20-Image small and big (high sliding).

Question21-Menu Totally Changed?

Admin Section-

C:\wamp\www\online\online\catalog\admin\images\oscommerce.png

C:\wamp\www\online\online\catalog\admin\includes\languages\english\login.php

We can change hyperlink from

C:\wamp\www\online\online\catalog\admin\includes\header.php

Want some change in header menu

C:\wamp\www\online\online\catalog\admin\includes\languages\english.php

Question-how can we remove

osCommerce Online Merchant Copyright © 2008 osCommerce

osCommerce provides no warranty and is redistributable under the GNU General Public License







Powered by osCommerce





From catalog/admin/login.php

Answer-

C:\wamp\www\online\online\catalog\admin\includes\fotter.php line33 to 41



Note-We can use HTML code when we upload new product for design.

True Love

hazaro ladkiya aati hai, hazaro jati hai
hazaro hasati hai, hazaro rulati hai
lekin mere dost sath vohi nibhati hai
jo Doli me aati hai
aur gale pad jati hai.....