This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var ngMaleApp = angular.module('ngMaleApp', ['MyDirectives','DataServices','ui']) | |
.config(['$routeProvider', function($routeProvider) { | |
$routeProvider | |
.when('/', { | |
templateUrl: '/male/views/menu', | |
controller: 'MainCtrl' | |
}); | |
}]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getRealIpAddr() | |
{ | |
if (!empty($_SERVER['HTTP_CLIENT_IP'])) //check ip from share internet | |
{ | |
$ip=$_SERVER['HTTP_CLIENT_IP']; | |
} | |
elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) //to check ip is pass from proxy | |
{ | |
$ip=$_SERVER['HTTP_X_FORWARDED_FOR']; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var giftAa, giftAb, giftQ; | |
giftQ = function() { | |
var buttons, giftBut1, giftBut2, q; | |
wipeConsole(); | |
saveProgress("giftQ"); | |
q = "You must be looking to buy a gift for a very lucky man. But there are two ways to do this "; | |
newQ(q); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{block type="evlike/cms_like" template="evlike/likebutton.phtml" name="cms.likebutton"}} | |
<div class="sidepromo ladies"> | |
<a href="http://www.ilovebrandsoutlet.com/index.php/brands/g-star-raw.html" class="promo-item"> | |
</a> | |
<a href="http://www.ilovebrandsoutlet.com/index.php/accessories/belts.html" class="promo-item bottom"> | |
</a> | |
</div> | |
<div class="bigimage image_carousel"> | |
<div id="foo ladies"> | |
<a href="/footwear.html" id="slide1"></a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{block type="evlike/cms_like" template="evlike/likebutton.phtml" name="cms.likebutton"}} | |
<div class="sidepromo"> | |
<a href="http://www.ilovebrandsoutlet.com/index.php/brands/g-star-raw.html" class="promo-item"> | |
</a> | |
<a href="http://www.ilovebrandsoutlet.com/index.php/accessories/belts.html" class="promo-item bottom"> | |
</a> | |
</div> | |
<div class="bigimage image_carousel"> | |
<div id="foo"> | |
<a href="/footwear.html" id="slide1"></a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Clean expired quotes (cron process) | |
* | |
* @param Mage_Cron_Model_Schedule $schedule | |
* @return Mage_Sales_Model_Observer | |
*/ | |
public function cleanExpiredQuotes($schedule) | |
{ | |
Mage::dispatchEvent('clear_expired_quotes_before', array('sales_observer' => $this)); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
base > default > template > arush > oneall > scripts.phtml | |
<?php | |
if (Mage::helper('oneall')->isOneallEnabled()): | |
?> | |
<script type="text/javascript"> | |
var oneall_js_protocol = (("https:" == document.location.protocol) ? "https" : "http"); | |
document.write(unescape("%3Cscript src='" + oneall_js_protocol + "://evogue.api.oneall.com/socialize/library.js' type='text/javascript'%3E%3C/script%3E")); | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.fbAsyncInit = function () { | |
FB.init({ | |
appId: 'APPID', | |
Status: true, | |
Cookie: true, | |
Xfbml: true | |
}); | |
FB.Event.subscribe('edge.create', function (response) { | |
Alert("Hello World! URL Liked!"); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* fly2mars-media | |
* http://www.fly2mars-media.de | |
* http://www.fly2mars-media.de/seoblog | |
*/ | |
/* | |
* Twitter connector class | |
*/ | |
class twitterConnect |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// trim all decimals | |
public function formatPrice($price, $includeContainer = true) | |
{ | |
if ($this->getCurrentCurrency()) { | |
return preg_replace('/.[0-9]*$/', '', $this->getCurrentCurrency()->format($price, array(), $includeContainer)); | |
// return $this->getCurrentCurrency()->format($price, array(), $includeContainer); | |
} | |
return $price; |