Example #1
0
/**
 * Updates the template image links since the image files have moved
 *
 */
function upgrade_module_1_6($module)
{
    // Default value within
    Configuration::updateValue('EBAY_RETURNS_WITHIN', 'Days_14');
    Configuration::updateValue('EBAY_DELIVERY_TIME', 2);
    Configuration::updateValue('EBAY_SYNC_PRODUCTS_MODE', Configuration::get('EBAY_SYNC_MODE'));
    Configuration::updateValue('EBAY_SYNC_MODE', 2);
    ebay::installPicturesSettings($module);
    $module->setConfiguration('EBAY_VERSION', $module->version);
    return true;
}
/**
 * Updates the template image links since the image files have moved
 *
 */
function upgrade_module_1_5_4($module)
{
    ebay::installPicturesSettings($module);
    return true;
}
	</div>
	</section>
	<section id="content">
		<div class="container content">		
        <!-- Service Blcoks -->
		<div class="row mar-b-50">
        
        <div class="col-lg-12 about wow fadeInRight animated" data-wow-animation-name="none" >
          <h3>
           Search Here
          </h3>
          <p>

<?php 
require_once 'class.ebay.php';
$ebay = new ebay('student93-9027-4244-891a-f8a94897de2', 'EBAY-IN');
$sort_orders = $ebay->sortOrders();
?>

<form action="services.php" method="post">
	<input type="text" name="search" id="search"  style="color:blue " placeholder="Enter the Key word">
	<select name="sort" id="sort">
	<?php 
foreach ($sort_orders as $key => $sort_order) {
    ?>
		<option value="<?php 
    echo $key;
    ?>
"  style="background-color:#ccffff"><?php 
    echo $sort_order;
    ?>
Example #4
0
<?php

require_once 'class.ebay.php';
$ebay = new ebay('YOUR EBAY API KEY', 'EBAY REGION', 'json');
$results = $ebay->findItems('pokemon');
$items = $results['findItemsByKeywordsResponse'][0]['searchResult'][0]['item'];
foreach ($items as $i) {
    echo $i['title'][0] . "<br/>";
}
Example #5
0
		<div class="row mar-b-50">
        
        <div class="col-lg-12 about wow fadeInRight animated" data-wow-animation-name="none" >
          <h3>
           Search Here
          </h3>
          <p>



<div id="one">

<?php 
error_reporting(0);
require_once 'ebay.php';
$ebay = new ebay('<your id>', 'EBAY-IN');
$sort_orders = $ebay->sortOrders();
?>

<form action="services.php"  method="post">
	<input type="text" name="search" id="search"  style="color:blue " placeholder="what you r wishing today"><br>

	</select>
	<br><pre>PRICE: <br><input type="text" name="from" style="color:blue;width: 60px" placeholder="from"> - <input type="text" name="to" style="color:blue;width: 60px" placeholder="to"></pre>
	<input type="submit" value="Search"  style="color:blue">
	
</form>

<?php 
$val = $_POST['from'];
$val1 = $_POST['to'];
Example #6
0
                </div>
              </li>
            </ul>
        </div>
	<!-- end slider -->
 
	</section>
	<section class="hero-text" style="background-color:#666699" >
	<div class="container">
		<div class="row">
			<div class="col-lg-12">
				<div class="aligncenter">
				
    <?php
	require_once('class.ebay.php');
	$ebay = new ebay('VVIT1109e-ef9e-4685-a140-e438d784b3d', 'EBAY-IN');
	
	?>
<form action="index.php"  method="post"><p style="font-family:vivaldi;font-size:50px;align:center" > Search for Better Choice</p><br/>
	<?php $minp=1; $maxp=1000000; ?>
	<input type="text" name="search" id="search" style="color:blue" size="100" placeholder="Search for products like mobiles,laptops,dresses...."><br/><br/><br/>
	MIN:<input type="text" name="minp" id="minp" style="color:blue" placeholder="enter min price"/>
	MAX:<input type="text" id="maxp" name="maxp" style="color:blue" placeholder="enter max price" /><br/><br/>
	<input type="image" src="img/search1.jpg" onmouseover="this.src='img/search.jpg'" onmouseout="this.src='img/search1.jpg'">
	<? if(empty($_POST['minp']) {$minp=1;} else $minp=$_POST['minp'];
	if(empty($_POST['maxp']) { $maxp=1000000;} else $maxp=$_POST['maxp']; ?>
</form>
<div id="one">
<?php
if(!empty($_POST['search'])){?>
	<h1>Ebay Results</h1>