コード例 #1
0
ファイル: process_siteoffer.php プロジェクト: jawedkhan/rorca
    //call ws
    require_once "extensions/process_offer_ws.php";
    $off = ws_process('PDFOferta');
    //return a PDF from ws
    if ($off != '') {
        header("Content-type: application/pdf");
        header("Content-length: " . strlen($off));
        echo $off;
    } else {
        echo "Polita PDF nu a putut fi gasita. Un operator o va trimite pe mail sau o sa fiti contactat.";
    }
    die;
}
//require_once("config/textarea.php");
require_once "config/ajaxify.php";
jQueryPluginRequired("jquery.autocomplete");
//head
ob_start();
require_once "extensions/info_commonoferta.php";
require_once "extensions/info_css.php";
?>
	<script src="js/jquery.tipsy.js"></script>
	<link rel="stylesheet" href="js/jquery.tipsy.css" type="text/css" />
	<script src="js/jquery.scrollTo.js"></script>
<?php 
cache_addvalue("finalhead", ob_get_contents());
ob_end_clean();
//body
ob_start();
if ($_GET['t'] == "all") {
    include "info_tarifar_all.php";
コード例 #2
0
ファイル: ajaxify.php プロジェクト: jawedkhan/rorca
<?php

//require_once("config/textarea.php");
require_once "config/layers.php";
require_once "config/calendar.php";
require_once "config/blockenter.php";
require_once "config/autocomplete.php";
require_once "config/jquery.php";
require_once "config/sheet.php";
jQueryPluginRequired("jquery.form");
ob_start();
?>
<script>
document.globalSlotReloaded="";
document.globalSlotLoading="";
var ajaxifyHistory=false;
var ajaxifyHistoryTimer=false;
var ajaxifyHistoryUrls=new Array();
var ajaxifyHistorySlots=new Array();
var ajaxifyHistoryCurrent=0;
var ajaxifyHistoryBase=0;
var ajaxifyHistoryMax=20;
var ajaxifyHistorySkip=0;
var ajaxifyEnableFocus=1;
document.ajaxifyDefaultSlot="work";
function getDivName(url)
{
	if(!url) return '';
	if(url.indexOf("?")>=0)
	{
		pos=url.indexOf("s=");