systemivBlog

Рубрика: php

@project[0].easyAjax

index.html <html> <head> <script type="application/javascript" src="javascript.js"></script> <meta charset="utf8"> </head> <body> <a href = "#app" id="button">App</a><br /> <table id="table" border="1"> <tr> <th>№</th> <th>Name</th> <th>Description</th> <th>Count</th> <th>Other</th> </tr> </table> </body> </html> javascript.js window.onload = function(){ var button = document.getElementById(’button’); button.onclick = function(event){ var request = new XMLHttpRequest(); request.onreadystatechange = function(){ if(request.readyState == 4){ if(request.status == 200){ var [...]

@progect[0].parser

<?php /* * Настройки */ $startPage = ‘http://city.ukr.net/’;   /* * Глобальные переменные */ $cityArray = array( ‘kiev’ => ‘Киев’, ‘vinnitsa’ => ‘Винница’, ‘dnepropetrovsk’ => ‘Днепропетровск’, ‘donetsk’ => ‘Донецк’, ‘zhitomir’ => ‘Житомир’, ‘zaporozhje’ => ‘Запорожье’, ‘ivano-frankovsk’ => ‘Ивано-Франковск’, ‘kirovograd’ => ‘Кировоград’, ‘crimea’ => ‘Крым’, ‘lugansk’ => ‘Луганск’, ‘lutsk’ => ‘Луцк’, ‘lvov’ => ‘Львов’, ‘nikolaev’ => [...]