<a href="site.php?t=client&tt=parola" class="biglink<?php 
if ($_GET['tt'] == "parola") {
    echo " bigselectedlink";
}
?>
"><img src="images/lock.png" border=0 style="vertical-align:middle"> <span style="">  Schimba parola</span></a>
</div>

<div class="workstep">
	<a href="site.php?t=client&tt=logout" class="biglink<?php 
if ($_GET['tt'] == "logout") {
    echo " bigselectedlink";
}
?>
"><img src="images/stop.png" border=0 style="vertical-align:middle"> <span style=""> Deconectare</span></a>
</div>

</div><!-- col1 -->

<div class="work_col2">

<?php 
// switch tt
require_once "extensions/process_offer_ws.php";
$off = ws_process('Portofoliu');
?>

</div><!-- col2-->

</div><!-- worksteps -->
<input type="hidden" name="action" value="TarifeOferta">
<input type="hidden" name="textbutton" value="Plateste online">
<input type="hidden" name="automaticsubmit" value="false">
<input type="hidden" name="offid" value="<?php 
echo intval($_GET['offid']);
?>
">
<input type="hidden" name="tipoferta" value="<?php 
echo $_GET['t'];
?>
">
<input type="hidden" name="p_soc" value="">
<input type="hidden" name="p_per" value="">
<?php 
require_once "extensions/process_offer_ws.php";
$date = ws_process("InfoOferta", intval($_GET['offid']));
?>
<div class="work_col1">
<div class="biglabel"><img src="images/tarife.png" border=0> ALEGE UN PRET</div>

<div class="workstep"><div class=workfields style="width:295px;height:auto;"><div id="loadingtarifeimg"><img src="images/ajax-loader.gif">Acum caut tarife</div>
<div id="loadingtarifemesaj" style="display:none;"></div>
<div id="soctarife"><a class="incarcatarife" href="site.php?TarifeOferta=<?php 
echo intval($_GET['offid']);
?>
"></a></div>
<div id="wakeupcall" style="display:none;"><a class="wakeupcall" href="site.php?WakeupCall=<?php 
echo intval($_GET['offid']);
?>
"></a></div>
</div></div>
Example #3
0
            } else {
                //update DB, SET status = "rejected"
                $errorMessage = $objPmReq->objPmNotify->errorMessage;
                $_GET['mobilpayipn'] = true;
                $_GET['mobilpayipn_post'] = true;
                require_once "extensions/process_offer_ws.php";
                global $objPmReq;
                $offid = intval($objPmReq->orderId);
                if ($offid) {
                    //force approved
                    $_POST['offid'] = $offid;
                    $_POST['ipnmessage'] = "Failed";
                    $_POST['ipnamount'] = 0;
                    $_POST['ipnrrn'] = $errorMessage;
                    $_POST['ipnref'] = '';
                    $off = ws_process('DateOferta');
                }
            }
        } catch (Exception $e) {
            $errorType = Mobilpay_Payment_Request_Abstract::CONFIRM_ERROR_TYPE_TEMPORARY;
            $errorCode = $e->getCode();
            $errorMessage = $e->getMessage();
        }
    } else {
        $errorType = Mobilpay_Payment_Request_Abstract::CONFIRM_ERROR_TYPE_PERMANENT;
        $errorCode = Mobilpay_Payment_Request_Abstract::ERROR_CONFIRM_INVALID_POST_PARAMETERS;
        $errorMessage = 'mobilpay.ro posted invalid parameters';
    }
} else {
    if (isset($_GET['orderId'])) {
        header("Location: " . $_CONFIG['ws_merch_kiturl'] . "site.php?t=thankyou&offid=" . intval($_GET['orderId']));
Example #4
0
	<input type="hidden" name="env_key" value="<?php 
    echo $objPmReqCard->getEnvKey();
    ?>
"/>
	<input type="hidden" name="data" value="<?php 
    echo $objPmReqCard->getEncData();
    ?>
"/>
	</form>
	</body></html><?php 
    die;
}
if ($_GET['t'] == "polita") {
    //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();