Commit 02533484 authored by Antonio.Suerte's avatar Antonio.Suerte

Removed Ad Random Sequence @ Login

parent 534c4eac
......@@ -68,8 +68,6 @@ include_once('template/base_head.php');
var images = [ <?php $this -> getAdImages('en', 'login'); ?> ];
images.sort(function () { return 0.5 - Math.random(); });
$.each(images, function (index, image) {
var element = $('<div class="item" id="'+ image.id +'"><a target="' + image.target + '" href="' + image.href +'"><img src="' + image.url + '" alt="' + image.alt + '" /></a></div>')
......
......@@ -66,9 +66,6 @@ include_once('template/base_head.php');
jQuery(document).ready(function ($) {
var images = [ <?php $this -> getAdImages('id', 'login'); ?> ];
// images.sort(function () { return 0.5; });
$.each(images, function (index, image) {
var element = $('<div class="item" id="'+ image.id +'"><a target="' + image.target + '" href="' + image.href +'"><img src="' + image.url + '" alt="' + image.alt + '" /></a></div>')
......
......@@ -68,9 +68,6 @@ include_once('template/base_head.php');
jQuery(document).ready(function ($) {
var images = [<?php $this -> getAdImages('ja', 'login'); ?>];
images.sort(function () { return 0.5 - Math.random(); });
$.each(images, function (index, image) {
var element = $('<div class="item" id="'+ image.id +'"><a target="' + image.target + '" href="' + image.href +'"><img src="' + image.url + '" alt="' + image.alt + '" /></a></div>')
......
......@@ -64,9 +64,6 @@ include_once('template/base_head.php');
jQuery(document).ready(function ($) {
var images = [<?php $this -> getAdImages('sc', 'login'); ?>];
// images.sort(function () { return 0.5; });
$.each(images, function (index, image) {
var element = $('<div class="item" id="'+ image.id +'"><a target="' + image.target + '" href="' + image.href +'"><img src="' + image.url + '" alt="' + image.alt + '" /></a></div>')
......
......@@ -67,9 +67,6 @@ include_once('template/base_head.php');
jQuery(document).ready(function ($) {
var images = [<?php $this -> getAdImages('tc', 'login'); ?>];
// images.sort(function () { return 0.5; });
$.each(images, function (index, image) {
var element = $('<div class="item" id="'+ image.id +'"><a target="' + image.target + '" href="' + image.href +'"><img src="' + image.url + '" alt="' + image.alt + '" /></a></div>')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment