Jump to content
php.lv forumi

<script> nedarbojas uz https


vgclv

Recommended Posts

Sveiki.

 

Lieta sekojoša pirmas pārgāju uz https:// manā mājsalpā bij/ir balsošanas skripts no WOS ar, Back Connect Vote, kas pildija savu funkciju nevainojami.

 

Tad iegādājos SSL - pāriešana uz https bij veiksmīga tikai, ja neskaita, to kad balsošas skrips vnk pazuda un nav ne mazākās nojausmas kapēc un ko darīt.

Rāda vienkārši tukšu vietu

 

Varbūt kāds zin kapēc tā notiek ? un ko varētu darīt lietas labā ?

 

 

Paldies jau iepriekš !

Link to comment
Share on other sites

<?php

$votes = array(
	array(
		'title' => 'WOS TOP 100',
		'content' => '<script src=http://wos.lv/v.php?33089&back_connect_url=https://nosaukums.lv/bcv.php&user='.$this->member['member_id'].'></script><script>wos_no_top10 = 1;</script>',
		'cookie' => 'csgoet',
	),
	array(
		'title' => 'WTOP TOP 100',
		'content' => '<script src="http://www.wtop.lv/c.php?id=241"></script>',
		'cookie' => 'vqrxut',
	),

);

$this->Header( "Nobalso par mums" );

$this->Sidebar( );

if( $this->member['member_id'] > 0 )
{
	$this->AddSystemMessage( 'info', 'Par katru balsi jūs saņemsiet <strong>€ 0.50</strong> virtuālo naudu <strong>Atcerieties</strong> ka balsot var reizi 24 stundās! Virtuālo naudu tu saņem tikai par WOS balsojumu!' );
}
else
{
	$this->AddSystemMessage( 'info', 'Lai saņemtu virtuālo naudu, ienāciet savā profilā' );
}
echo '<div class="middle">
	<h1><span class="icon icon-heart m-r-8"></span>Nobalso par mums</h1>
	<div class="inner only">
		'.$this->PrintSystemMessage( ).'
		<table class="bordered">
			<thead>
				<tr>
					<th>Topsaits</th>
					<th class="text-center">Balsot</th>
				</tr>
			</thead>
			<tbody>';
			foreach( $votes as $key => $vote )
			{
				echo '<tr>
					<td>'.$vote['title'].'</td>
					<td class="text-center">'.$vote['content'].'</td>
				</tr>';
			}
			echo '</tbody>
		</table>
	</div>
';

$this->Footer( );

Rekur būs pats skripts !

Edited by vgclv
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...