Location: PHPKode > scripts > PHP Tip Class > php-tip-class/index.php
$SERVERNAME   = "localhost";
$DATABASENAME = "dictionary";
$USERNAME     = "root";
$PASSWORD     = "";

$db = mysql_connect($SERVERNAME, $USERNAME, $PASSWORD);
@mysql_select_db($DATABASENAME,$db)or die(mysql_error());
@mysql_query("SET NAMES 'latin5'"); //->eng/turkish //set your language type. 

include "php_tip.class.php";
$tipi = new php_tip();


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv="Content-Type" content="text/html;" />
<meta http-equiv="Content-Language" content="tr" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
//Print css between <HEAD></HEAD> tags.
$tipi->tip_top($opacity='99','Arial','12px','black','bold',$padding='33px 8px 0', 'bubble.gif');

$tipi->a_link('blue', 'underline', $hover_color='red',$hover_deco='none', $hover_bg='lightyellow');

$tipi->tip_middle('Arial','12px','black','none','0 8px','bubble_filler.gif');

$tipi->tip_bottom('Arial','10px','#548912','none','3px 8px 14px','bubble.gif');


<body topmargin="15" leftmargin="15">

$subject = "<b>Weberian political sociology:</b>
In some social sciences, the understanding of the defining
characteristics of capitalism has been strongly influenced
by 19th century German social theorist Max Weber. Weber considered
market exchange, rather than production, as the defining feature of capitalism;
capitalist enterprises, in contrast to their counterparts in prior modes of economic
activity,was their rationalization of production, directed toward maximizing
efficiency and productivity bla bla.According to Weber, workers in pre-capitalist
economic institutions understood work in terms of a personal relationship between
master and journeyman in a guild, or between lord and peasant in a manor.[20]
In his book The Protestant Ethic and the Spirit of Capitalism (1904-1905),
Weber sought to trace how capitalism transformed traditional modes of economic activity.
For Weber, the 'spirit' of rational calculation eroded traditional restraints on capitalist
exchange, and fostered the development of modern capitalism. This 'spirit' was gradually
codified by law; rendering wage-laborers legally 'free' to sell work; encouraging the development
of technology aimed at the organization of production on the basis of rational principles; and clarifying
the separation of the public and private lives of workers, especially between the home and the workplace.
Therefore, unlike Marx, Weber did not see capitalism as primarily the consequence of changes in the means
of production.[21] Instead, for Weber the origins of capitalism rested chiefly in the rise of a new entrepreneurial
'spirit' in the political and cultural realm.
In the Protestant Ethic, Weber suggested that the origin of this
'spirit' was related to the rise of Protestantism, particularly Calvinism.
Capitalism, for Weber, is the most advanced economic system ever developed
over the course of human history. Weber associated capitalism with the advance
of the business corporation, public credit, and the further advance of bureaucracy of the
modern world. Although Weber defended capitalism against its socialist critics of the period,
he saw its rationalizing tendencies as a possible threat to traditional cultural values and institutions,
and a possible 'iron cage' constraining human freedom.
//tipi tip a chewing gum like a balloon :)
$tipi->tip($subject,'What is the', '_blank', true, 1);

Return current item: PHP Tip Class