Add Cesium link profile to pseudo in readRecords1/2.php
This commit is contained in:
parent
514f8936a9
commit
a5652703b1
|
@ -43,11 +43,12 @@ $bdd = new \PDO("mysql:host=$host;dbname=$database_name", $username, $password);
|
|||
$produit = $row['name'];
|
||||
$pubkey = $row['pubkey'];
|
||||
$pubkeyShort = substr($pubkey, 0, 8);
|
||||
$format_cle_pub = "<a target=\"_blank\" href=\"https://g1.duniter.fr/api/#/v1/payment/$pubkey?amount=$prix&name=$vendeur&comment=[Achat GMarche] : $produit&redirect_url=https://gmarche.monnaie-libre.fr\"> $pubkeyShort... </a>";
|
||||
$vendeur_format = "<a target=\"_blank\" href=\"https://g1.duniter.fr/#/app/wot/$pubkey/\">$vendeur</a>";
|
||||
$cle_pub_format = "<a target=\"_blank\" href=\"https://g1.duniter.fr/api/#/v1/payment/$pubkey?amount=$prix&name=$vendeur&comment=[Achat GMarche] : $produit&redirect_url=https://gmarche.monnaie-libre.fr\"> $pubkeyShort... </a>";
|
||||
$data .= '<td>'.$produit.'</td>';
|
||||
$data .= '<td><img src="/uploads/products/'.$antenne_slug.'/'.$row['image'].'" width="100" height="100" /></td>';
|
||||
$data .= '<td>'.$vendeur.'</td>';
|
||||
$data .= '<td>'.$format_cle_pub.'</td>';
|
||||
$data .= '<td>'.$vendeur_format.'</td>';
|
||||
$data .= '<td>'.$cle_pub_format.'</td>';
|
||||
$data .= '<td>'.$row['quantite'].'</td>';
|
||||
$data .= '<td>'.$prix.'</td>';
|
||||
$data .= '<td>';
|
||||
|
|
|
@ -43,10 +43,12 @@ if ($count > 0)
|
|||
$vendeur = $row['username'];
|
||||
$produit = $row['name'];
|
||||
$pubkey = $row['pubkey'];
|
||||
$vendeur_format = "<a target=\"_blank\" href=\"https://g1.duniter.fr/#/app/wot/$pubkey/\">$vendeur</a>";
|
||||
|
||||
$pubkeyShort = substr($pubkey, 0, 8);
|
||||
$data .= '<td>'.$produit.'</td>';
|
||||
$data .= '<td><img src="/uploads/products/'.$antenne_slug.'/'.$row['image'].'" width="100" height="100" /></td>';
|
||||
$data .= '<td>'.$vendeur.'</td>';
|
||||
$data .= '<td>'.$vendeur_format.'</td>';
|
||||
$data .= '<td>'.$pubkeyShort.'...</td>';
|
||||
$data .= '<td>'.$row['quantite'].'</td>';
|
||||
$data .= '<td>'.$prix.'</td>';
|
||||
|
|
Loading…
Reference in New Issue