Adding Design to Jinxxy Import
This commit is contained in:
@@ -101,41 +101,50 @@ echo '<br><span style="font-family: consolas">Currency Code </span>' . $cur
|
|||||||
<title>Insert From Jinxxy - Admin Panel - Furatalog.xyz</title>
|
<title>Insert From Jinxxy - Admin Panel - Furatalog.xyz</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="main">
|
<div class="sidebar">
|
||||||
<form action="insert-jinxxy.php" class="insert" method="post">
|
<a href="logout.php">Logout</a>
|
||||||
<select name="section" id="section">
|
<a href="/admin/">Dashboard</a>
|
||||||
<option value="1">Assets</option>
|
<a class="active" href="/admin/insert.php">Insert Data (Gumroad)</a>
|
||||||
<option value="2">Avatars</option>
|
<a href="/admin/insert-species.php">Insert Species</a>
|
||||||
<option value="3">Bases</option>
|
|
||||||
<option value="4">Worlds</option>
|
|
||||||
</select>
|
|
||||||
<div>
|
|
||||||
<?php
|
|
||||||
$furatalog = new mysqli("10.0.0.100", "furatalog_admin_usr", "NR6tLk7c56bPT5[]", "furatalog");
|
|
||||||
$requestSpeciesResult = $furatalog->query("SELECT * FROM `species`");
|
|
||||||
while ($row = $requestSpeciesResult->fetch_assoc()) {
|
|
||||||
echo "
|
|
||||||
<label>
|
|
||||||
<input type=\"checkbox\" name=\"" . $row["tag"] . "\">" . $row["name"] . "
|
|
||||||
</label><br>";
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</div>
|
|
||||||
<input type="text" name="creator_name" value="<?php echo $creator_name; ?>"><br>
|
|
||||||
<input type="text" name="creator_pb" value="<?php echo $creator_pb; ?>"><br>
|
|
||||||
<input type="text" name="creator_jinxxyURL" value="<?php echo $creator_jinxxyURL; ?>"><br>
|
|
||||||
<input type="text" name="content_name" value="<?php echo $content_name; ?>"><br>
|
|
||||||
<input type="text" name="content_price" value="<?php echo $content_price; ?>"><br>
|
|
||||||
<input type="text" name="content_rating" value="<?php echo $content_rating; ?>"><br>
|
|
||||||
<input type="text" name="content_creator_id" value="<?php echo $content_creator_id; ?>"><br>
|
|
||||||
<input type="text" name="content_currency_id" value="<?php echo $content_currency_id; ?>"><br>
|
|
||||||
<input type="text" name="content_url" value="<?php echo $content_url; ?>"><br>
|
|
||||||
<input type="text" name="content_image" value="<?php echo $content_image; ?>"><br>
|
|
||||||
<input type="text" name="currency_currency" value="<?php echo $currency_tag; ?>"><br>
|
|
||||||
<input type="text" name="species" id="speciesIncluded" style="display: none;" value="props">
|
|
||||||
<input type="submit" value="Insert">
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="content">
|
||||||
|
<div class="insert">
|
||||||
|
<form action="insert-jinxxy.php" class="insert" method="post">
|
||||||
|
<select name="section" id="section">
|
||||||
|
<option value="1">Assets</option>
|
||||||
|
<option value="2">Avatars</option>
|
||||||
|
<option value="3">Bases</option>
|
||||||
|
<option value="4">Worlds</option>
|
||||||
|
</select>
|
||||||
|
<div class="specieslist">
|
||||||
|
<?php
|
||||||
|
$furatalog = new mysqli("10.0.0.100", "furatalog_admin_usr", "NR6tLk7c56bPT5[]", "furatalog");
|
||||||
|
$requestSpeciesResult = $furatalog->query("SELECT * FROM `species`");
|
||||||
|
while ($row = $requestSpeciesResult->fetch_assoc()) {
|
||||||
|
echo "
|
||||||
|
<label>
|
||||||
|
<input type=\"checkbox\" name=\"" . $row["tag"] . "\">" . $row["name"] . "
|
||||||
|
</label><br>";
|
||||||
|
}
|
||||||
|
?>
|
||||||
|
</div>
|
||||||
|
<input type="text" name="creator_name" value="<?php echo $creator_name; ?>"><br>
|
||||||
|
<input type="text" name="creator_pb" value="<?php echo $creator_pb; ?>"><br>
|
||||||
|
<input type="text" name="creator_jinxxyURL" value="<?php echo $creator_jinxxyURL; ?>"><br>
|
||||||
|
<input type="text" name="content_name" value="<?php echo $content_name; ?>"><br>
|
||||||
|
<input type="text" name="content_price" value="<?php echo $content_price; ?>"><br>
|
||||||
|
<input type="text" name="content_rating" value="<?php echo $content_rating; ?>"><br>
|
||||||
|
<input type="text" name="content_creator_id" value="<?php echo $content_creator_id; ?>"><br>
|
||||||
|
<input type="text" name="content_currency_id" value="<?php echo $content_currency_id; ?>"><br>
|
||||||
|
<input type="text" name="content_url" value="<?php echo $content_url; ?>"><br>
|
||||||
|
<input type="text" name="content_image" value="<?php echo $content_image; ?>"><br>
|
||||||
|
<input type="text" name="currency_currency" value="<?php echo $currency_tag; ?>"><br>
|
||||||
|
<input type="text" name="species" id="speciesIncluded" style="display: none;" value="props">
|
||||||
|
<input type="submit" value="Insert">
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// Select all checkboxes and the result input field
|
// Select all checkboxes and the result input field
|
||||||
|
|||||||
Reference in New Issue
Block a user