<?php
class Page_Portfolio extends Page_Basic{
private $menu;
public function actionIndex() {
$this->menu;
}
public function actionHtml(){
$this->menu;
}
}
<?php
class Page_Portfolio extends Page_Basic{
public function actionIndex() {
}
public function actionHtml(){
$this->actionIndex();
}
}
<noscript>
<META HTTP-EQUIV="REFRESH" CONTENT="0; URL=http://site.ru/noscript/">
</noscript>
var aa = document.getElementById('qwe');
var cc = document.getElementById('vce');
aa.onmouseover = function () {
cc.style.display = 'block';
};
aa.onmouseout = function () {
cc.style.display = 'none';
};
<? $a="hello world!";?>
<script>var a = <?=$a?>;</script>
alert(a);
function someFunct(){
var lastId = $('#main>div').last().attr('id');
// Из полученного значения получаете цифру удобным для вас
// способом и потом что то вроде
$('#main').append('<div id="block-'+(lastId+1)+'">');
}
$('#main div').each(function(i){
$(this).attr('id', 'block-'+i);
})
var Counter = function(){
var i = 0;
return function(){
return i++;
};
};
var counter = Counter();
console.log(counter());
console.log(counter());
console.log(counter());
console.log(counter());
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/image\/.*$
RewriteRule ^.*$ imageWrapper.php [NC,L]
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]