npm run build
npm run dev
<script type="module" src="http://[::1]:5173/@vite/client"></script>
<link rel="stylesheet" href="http://[::1]:5173/resources/assets/css/app.scss" />
'type' & 'id'
возвращает строку string(2) "``"
<?php
if(isset($_GET['id']) && isset($_GET['type'])) {
print_r($_GET);
}
<?php
...
$style = '';
if( $r2['id'] == 2 ) {
$style = 'mm';
}
echo "<img class='$style' src=".photo($avatar[0])."><br>";
...
$curl = curl_init();
$data = array(
"amount" => "15",
"currency" => "USD",
"order_id" => "1",
"url_return" => "https://your.site/return",
"url_callback" => "https://your.site/callback"
);
$headers = array(
"merchant: 8b03432e-385b-4670-8d06-064591096795",
"sign: fe99035f86fa436181717b302b95bacff1",
"Content-Type: application/json"
);
$options = array(
CURLOPT_URL => "https://api.cryptomus.com/v1/payment",
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POSTFIELDS => json_encode($data),
CURLOPT_HTTPHEADER => $headers
);
curl_setopt_array($curl, $options);
$response = curl_exec($curl);
curl_close($curl);
.leftS{
display: flex;
justify-content: center;
align-items: center;
}
.leftS{
display: flex;
justify-content: center;
}
.leftS * {
position: relative;
left: 30px;
}
.msgContainer {
- position: relative:
+ position: relative;
}
sudo apt-get install gdb