This file contains 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 | |
/** | |
* Copyright (c) 2009 Travel UCD | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: | |
* |
This file contains 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
$('.pr_snippet_product').bind('click', function(event) { | |
if(event.target.hash == "#ReviewHeader") { | |
event.preventDefault(); | |
window.location = "http://www.example.com/foo.html"; | |
} | |
}); |
This file contains 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
<table class="tourcmstable salesummary"> | |
<thead> | |
<tr class="align-right"> | |
<th scope="col" class="hidden align-left">Item</th> | |
<th scope="col">Quantity</th> | |
<th scope="col" class="nowrap">Sale price</th> | |
<th scope="col" class="nowrap">Sale price total</th> | |
</tr> | |
</thead> | |
<tfoot> |
This file contains 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
#tourcms-step1 table table a { | |
border: 1px solid #ddd; | |
padding: 8px 10px 8px 10px; | |
-moz-border-radius: 3px; | |
-webkit-border-radius: 3px; | |
border-radius: 3px; | |
text-decoration: none; | |
color: #888; | |
font-size: 13px; | |
font-weight: normal; |
This file contains 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 | |
class Tour extends Mustache { | |
public function populate($id) { | |
global $tourcms; | |
global $channel_id; | |
$result = $tourcms->show_tour($id, $channel_id); | |
$this->error = (string)$result->error; | |
This file contains 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
body, textarea, select, input, a, strong { | |
font-size:18px; | |
} | |
/*Change Font size for Mobiles in Posts*/ | |
@media screen and (-webkit-device-pixel-ratio: 1.5) { | |
/* CSS for high-density screens */ | |
body, textarea, select, input, a, strong { | |
font-size:30px; | |
} |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title></title> | |
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js"></script> | |
</head> | |
<body> | |
<p>Accommodation rating: | |
<?php |
This file contains 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
<%@ Page Language="C#" %> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<script runat="server"> | |
</script> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head runat="server"> |
This file contains 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 | |
class CachedTourCMS { | |
// General settings | |
protected $marketp_id = 0; | |
protected $private_key = ""; | |
protected $result_type = ""; | |
// Cache settings | |
public $cache_dir = 'cache'; |