ich möchte den link
https://steamcommunity.com/groups/Games-Core018 via Admin in den easyfooter haben,wenn ich den link wie bei zb Facebook einfüge ,sehe ich zwar das Steam Icon aber er leitet mich nicht weiter und bringt mir nen fehler code ,habe jetzt auch erste mal den Original footer wieder reingetan.
hier mal die datein
sc_easyfooter.php ab zeile 113
$data_array['$twitch'] = $ds['twitch'];
$data_array['$facebook'] = $ds['facebook'];
$data_array['$twitter'] = $ds['twitter'];
$data_array['$youtube'] = $ds['youtube'];
$data_array['$steam'] = $ds['steam'];
$data_array['$rss'] = $ds['rss'];
$data_array['$vine'] = $ds['vine'];
$data_array['$flickr'] = $ds['flickr'];
$data_array['$linkedin'] = $ds['linkedin'];
$data_array['$since'] = $ds['since'];
#$data_array['$ab_outus'] = $plugin_language[ 'aboutus' ];
#$data_array['$navigation'] = $plugin_language[ 'navigation' ];
#$data_array['$links'] = $plugin_language[ 'links' ];
#$data_array['$contact'] = $plugin_language[ 'contact' ];
// Prüfen ob Social gesetzt ist
if($data_array['$twitch'] == "-") { $data_array['social'] = "invisible"; } else { $data_array['social'] = "visible"; }
if($data_array['$facebook'] == "-") { $data_array['social2'] = "invisible"; } else { $data_array['social2'] = "visible"; }
if($data_array['$twitter'] == "-") { $data_array['social3'] = "invisible"; } else { $data_array['social3'] = "visible"; }
if($data_array['$youtube'] == "-") { $data_array['social4'] = "invisible"; } else { $data_array['social4'] = "visible"; }
if($data_array['$steam'] == "-") { $data_array['social5'] = "invisible"; } else { $data_array['social4'] = "visible"; }
if($data_array['$rss'] == "-") { $data_array['social6'] = "invisible"; } else { $data_array['social5'] = "visible"; }
if($data_array['$vine'] == "-") { $data_array['social7'] = "invisible"; } else { $data_array['social6'] = "visible"; }
if($data_array['$flickr'] == "-") { $data_array['social8'] = "invisible"; } else { $data_array['social7'] = "visible"; }
if($data_array['$linkedin'] == "-") { $data_array['social9'] = "invisible"; } else { $data_array['social8'] = "visible"; }
$template = $GLOBALS["_template"]->loadTemplate("easyfooter","content", $data_array, $plugin_path);
echo $template;
}
}
}
?>
die Admin easyfooter.php ab zeile 199
<hr>
<div class="form-group">
<label for="select-squad" class="col-xs-12 col-md-3 control-label">twitch:</label>
<div class="col-xs-12 col-md-9">
<input type="text" name="twitch" class="form-control" value="'.getinput($ds['twitch']).'">
</div>
</div>
<div class="form-group">
<label for="select-squad" class="col-xs-12 col-md-3 control-label">facebook:</label>
<div class="col-xs-12 col-md-9">
<input type="text" name="facebook" class="form-control" value="'.getinput($ds['facebook']).'">
</div>
</div>
<div class="form-group">
<label for="select-squad" class="col-xs-12 col-md-3 control-label">twitter:</label>
<div class="col-xs-12 col-md-9">
<input type="text" name="twitter" class="form-control" value="'.getinput($ds['twitter']).'">
</div>
</div>
<div class="form-group">
<label for="select-squad" class="col-xs-12 col-md-3 control-label">youtube:</label>
<div class="col-xs-12 col-md-9">
<input type="text" name="youtube" class="form-control" value="'.getinput($ds['youtube']).'">
</div>
</div>
<div class="form-group">
<label for="select-squad" class="col-xs-12 col-md-3 control-label">steam:</label>
<div class="col-xs-12 col-md-9">
<input type="text" name="steam" class="form-control" value="'.getinput($ds['steam']).'">
</div>
</div>
<div class="form-group">
<label for="select-squad" class="col-xs-12 col-md-3 control-label">rss:</label>
<div class="col-xs-12 col-md-9">
<input type="text" name="rss" class="form-control" value="'.getinput($ds['rss']).'">
</div>
</div>
<div class="form-group">
<label for="select-squad" class="col-xs-12 col-md-3 control-label">vine:</label>
<div class="col-xs-12 col-md-9">
<input type="text" name="vine" class="form-control" value="'.getinput($ds['vine']).'">
</div>
</div>
<div class="form-group">
<label for="select-squad" class="col-xs-12 col-md-3 control-label">flickr:</label>
<div class="col-xs-12 col-md-9">
<input type="text" name="flickr" class="form-control" value="'.getinput($ds['flickr']).'">
</div>
</div>
<div class="form-group">
<label for="select-squad" class="col-xs-12 col-md-3 control-label">linkedin:</label>
<div class="col-xs-12 col-md-9">
<input type="text" name="linkedin" class="form-control" value="'.getinput($ds['linkedin']).'">
</div>
</div>
<input type="hidden" name="captcha_hash" value="' . $hash . '" />
<input type="hidden" name="footID" value="' . $ds[ 'footID' ] . '" />
<input class="btn btn-warning" type="submit" name="saveedit" value="speichern" />
</form></div>
</div>';
}
elseif (isset($_POST[ "saveedit" ])) {
$clanname = $_POST[ "clanname" ];
$since = $_POST[ "since" ];
$twitch = $_POST[ "twitch" ];
$facebook = $_POST[ "facebook" ];
$twitter = $_POST[ "twitter" ];
$youtube = $_POST[ "youtube" ];
$steam = $_POST[ "steam" ];
$rss = $_POST[ "rss" ];
$vine = $_POST[ "vine" ];
$flickr = $_POST[ "flickr" ];
$linkedin = $_POST[ "linkedin" ];
$footID = $_POST[ "footID" ];
$CAPCLASS = new \webspell\Captcha;
if ($CAPCLASS->checkCaptcha(0, $_POST[ 'captcha_hash' ])) {
if (checkforempty(array('clanname', 'since', 'twitch', 'facebook', 'twitter', 'youtube', 'steam','rss', 'vine', 'flickr', 'linkedin',))) {
safe_query(
"UPDATE
`" . PREFIX . "plugins_easyfooter`
SET
`clanname` = '" . $clanname . "',
`since` = '" . $since. "',
`twitch` = '" . $twitch . "',
`facebook` = '" . $facebook . "',
`twitter` = '" . $twitter . "',
`youtube` = '" . $youtube . "',
`steam` = '" . $steam . "',
`rss` = '" . $rss . "',
`vine` = '" . $vine . "',
`flickr` = '" . $flickr . "',
`linkedin` = '" . $linkedin . "'
WHERE `footID` = '".$footID."'"
);
$errors = array();
$_language->readModule('formvalidation', true);
if (count($errors)) {
$errors = array_unique($errors);
echo generateErrorBoxFromArray($_lang['errors_there'], $errors);
}
} else {
echo $_lang['information_incomplete'];
}
} else {
echo $_lang[ 'transaction_invalid' ];
}
redirect("admincenter.php?site=admin_easyfooter", "", 0);
}
else {
echo '<div class="panel panel-default">
<div class="panel-heading"> <i class="fa fa-info-circle"></i> ' . $_lang[ 'title' ] . '
</div>
<div class="panel-body">';
$qry = safe_query("SELECT * FROM `" . PREFIX . "plugins_easyfooter` ORDER BY `footID`");
$anz = mysqli_num_rows($qry);
if ($anz) {
$CAPCLASS = new \webspell\Captcha;
$CAPCLASS->createTransaction();
$hash = $CAPCLASS->getHash();
$i = 1;
while ($ds = mysqli_fetch_array($qry)) {
echo '<div class="col-md-10 form-group"><a href="admincenter.php?site=admin_easyfooter" class="white">' . $_lang[ 'title' ] . '</a> » New / Edit</div>
<div class="col-md-2 form-group">
<!-- The modal beginning -->
<button type="button" class="btn btn-warning" data-toggle="modal" data-target="#flipFlop">' . $_lang[ 'description' ] . '</button>
<!-- The modal -->
<div class="modal fade" id="flipFlop" tabindex="-1" role="dialog" aria-labelledby="modalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title" id="modalLabel">' . $_lang[ 'description' ] . '</h4>
</div>
<div class="modal-body">' . $_lang[ 'privacy_policy_title' ] . '' . $_lang[ 'privacy_policy_text' ] . '';
$query = safe_query("SELECT pluginID FROM `".PREFIX."plugins` WHERE `name` ='$title'");
$data_array = mysqli_fetch_array($query);
if($data_array) {
echo '<img src="../images/languages/en.gif" /> Copy the following lines and paste this into your index.php on the position you want. <br />
<img src="../images/languages/de.gif" /> Kopiere die folgenden Zeilen und füge Sie in der index.php an der gewünschten Stelle ein.<br />
<pre>
<right>
<?php
$plugin = new plugin_manager();
$plugin->set_debug(DEBUG);
echo $plugin->plugin_sc('.$data_array['pluginID'].');
?> </right>
</pre>';
}
echo'</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- The modal end-->
</div>
<div class="col-sm-12">
<table class="table table-striped">
<thead>
<th style="width: 25%"><b>The Social Network</b></th>
<th><b>Link</b></th>
</thead>
<tbody>
<tr>
<td>Clanname:</td>
<td>'.$ds['clanname'].'</td>
</tr>
<tr>
<td>Clansince:</td>
<td>'.$ds['since'].'</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-12"><hr></div>
<div class="col-sm-6">
<table class="table table-striped">
<thead>
<th style="width: 25%"><b>The Social Network</b></th>
<th><b>Link</b></th>
</thead>
<tbody>
<tr>
<td>twitch:</td>
<td>'.$ds['twitch'].'</td>
</tr>
<tr>
<td>facebook:</td>
<td>'.$ds['facebook'].'</td>
</tr>
<tr>
<td>twitter:</td>
<td>'.$ds['twitter'].'</td>
</tr>
<tr>
<td>youtube:</td>
<td>'.$ds['youtube'].'</td>
</tr>
<tr>
<td>steam:</td>
<td>'.$ds['steam'].'</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-6">
<table class="table table-striped">
<thead>
<th style="width: 25%"><b>The Social Network</b></th>
<th><b>Link</b></th>
</thead>
<tbody>
<tr>
<td>rss:</td>
<td>'.$ds['rss'].'</td>
</tr>
<tr>
<td>vine:</td>
<td>'.$ds['vine'].'</td>
</tr>
<tr>
<td>flickr:</td>
<td>'.$ds['flickr'].'</td>
</tr>
<tr>
<td>linkedin:</td>
<td>'.$ds['linkedin'].'</td>
</tr>
</tbody>
</table>
</div>
<a href="admincenter.php?site=admin_easyfooter&action=edit&footID='. $ds[ 'footID' ]
. '" class="btn btn-warning input">Text bearbeiten</a>
';
$i++;
}
} else {
echo 'keine Einträge vorhanden';
}
echo '</div>
</div>';
}
?>
easyfooter.html
<a href='$twitch' class="social"><i class="fab fa-twitch fa-2x fa-fw"></i></a>
<a href='$facebook' class="social2"><i class="fab fa-facebook fa-2x fa-fw"></i></a>
<a href='$twitter' class="social3"><i class="fab fa-twitter fa-2x fa-fw"></i></a>
<a href='$youtube' class="social4"><i class="fab fa-youtube fa-2x fa-fw"></i></a>
<a href='$steam' class="social5"><i class="fab fa-steam fa-2x fa-fw"></i></a>
<a href='$rss' class="social6"><i class="fas fa-rss fa-2x fa-fw"></i></a>
<a href='$vine' class="social7"><i class="fab fa-vine fa-2x fa-fw"></i></a>
<a href='$flickr' class="social8"><i class="fab fa-flickr fa-2x fa-fw"></i></i></a>
<a href='$linkedin' class="social9"><i class="fab fa-linkedin-in fa-2x fa-fw"></i></a>
</div>
</div>
<div class="row">
<div class="col">
<p>All content copyright $clanname © Date | $since.<br>
All rights reserved.</p>
</div>
</div>
</div>
</footer>
<!-- END -->