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
public function getMainView() | |
{ | |
$bo = new boblog(); | |
$tblNews = $bo->getListNews(); | |
$htmlret = "<h2>Mon blog</h2> <p>Interface d'administration</p> | |
<table> | |
<th>Titre</th><th>Actions</th>"; | |
foreach($tblNews as $news) | |
{ |
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 | |
class baseblog | |
{ | |
require_once(dirname(__FILE__)."/../config.inc.php"); | |
public $m_tblConfig; | |
function __construct() | |
{ |
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 | |
require_once("inc/class.baseblog.inc.php"); | |
class instanciation extends baseblog | |
{ | |
protected $m_boblog; | |
public function __construct() | |
{ |
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
public function addLog($message, $level) | |
{ | |
if($level>=$this->m_tblConfig['LOG_LEVEL']) | |
{ | |
$timeOffset = microtime(true) - $_SERVER['REQUEST_TIME']; | |
$dt = date('c') . " " . substr($timeOffset, 0, 7); | |
error_log("$dt " . $message . "\n", 3, $this->m_tblConfig['LOG_FILE']); | |
if(level>=ERROR) | |
{ | |
$message .= "\nrequest = " . $this->dumpRet($_REQUEST); |
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
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> | |
<env:Header xmlns:env="http://www.w3.org/2003/05/soap-envelope"> | |
<shopId xmlns="http://v5.ws.vads.lyra.com/Header/">61843492</shopId> | |
<requestId xmlns="http://v5.ws.vads.lyra.com/Header/">e5ec35cb-a5f1-46e3-a0cd-d211f73b0e2c</requestId> | |
<timestamp xmlns="http://v5.ws.vads.lyra.com/Header/">2017-01-05T11:22:26Z</timestamp> | |
<mode xmlns="http://v5.ws.vads.lyra.com/Header/">TEST</mode> | |
<authToken xmlns="http://v5.ws.vads.lyra.com/Header/">jSYJrdWflZ559s8dA8i68BtuZ6+5i3vfbOFH/peIsYg=</authToken> | |
</env:Header> | |
<soap:Body> | |
<ns2:getPaymentDetailsResponse xmlns:ns2="http://v5.ws.vads.lyra.com/"> |