Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* Anti-spam
*/
public function antiSpamAction()
{
$lenght=6;
$number = "";
for ($i = 1; $i <= $lenght; $i++)
{
<script type="text/javascript">
jQuery(document).ready(function($) {
$(".slider").slideshow({
width : 900,
height : 325,
transition : 'square'
});
$('.lightbox').lightbox();
$('body').delegate('form', 'submit', function(){
var allOk = true;
$(document).ready(function(){
$('body').delegate('form', 'submit', function(){
var allOk = true;
$('.jr').each(function(){
if($(this).val().length <= 0 || $(this).attr('title') == $(this).val() || $(this).attr('title') == $(this).html()){
$(this).addClass('warning');
Stack trace:
#0 /www/webvol11/qe/k589vviv811ucpd/putovanjazadvoje.rs/public_html/lib/Controller.php(459): Imagine\Imagick\Imagine->__construct()
#1 /www/webvol11/qe/k589vviv811ucpd/putovanjazadvoje.rs/public_html/lib/Controller.php(291): Controller->setImagine()
#2 /www/webvol11/qe/k589vviv811ucpd/putovanjazadvoje.rs/public_html/app/controllers/CmsNewsController.php(56): Controller->createThumbImage('13-13-przaglob....', 'news', 195, 95)
#3 [internal function]: CmsNewsController->editAction(Array)
#4 /www/webvol11/qe/k589vviv811ucpd/putovanjazadvoje.rs/public_html/lib/share.php(165): call_user_func_array(Array, Array)
#5 /www/webvol11/qe/k589vviv811ucpd/putovanjazadvoje.rs/public_html/lib/share.php(218): hook(Array)
#6 /www/webvol11/qe/k589vviv811ucpd/putovanjazadvoje.rs/public_html/lib/bootstrap.php(16): require_onc in /www/webvol11/qe/k589vviv811ucpd/putovanjazadvoje.rs/public_html/lib/Imagine/Imagick/Imagine.php on line 28
[06-Apr-2012 07:50:14 UTC] PHP Fatal error: Uncaught exception 'Imagine\Exception\R
public function wraparoundAction()
{
$response = $this->getListingResponse('wraparound');
return $reponse;
}
public function dusanAction()
{
login success
Array
(
[novakovicdusan.com] => Array
(
[title] => novakovicdusan.com
[tableId] => ga:41208407
[accountId] => 20815859
[accountName] => novakovicdusan.com
@ndusan
ndusan / SecurityController.php
Created August 4, 2011 08:23 — forked from immutef/SecurityController.php
Symfony2 Security Form Login
<?php // src/Application/UserBundle/Controller/SecurityController.php
namespace Application\UserBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller,
Symfony\Component\Security\SecurityContext;
class SecurityController extends Controller
{
public function loginAction()